mysql - Apache 钻 - AssertionError : Relational expression

标签 mysql apache-drill

运行 apache-drill-1.14.0

在 mysql 上测试这个查询并在 0.02 秒内得到结果

在 drill cli 中运行查询失败并出现 AssertionError

查询:

product_id 是 BIGINT

  SELECT test50.customername, test50.color, test50.age, test50.city,  
  test50.product_id, test50.price FROM myplugin.sampler.test50 JOIN 
  myplugin.sampler.test52 ON test50.product_id = test52.product_id WHERE 
  test50.product_id = 759216 GROUP BY test50.customername, test50.color,
  test50.age, test50.city, test50.product_id, test50.price ORDER BY
  test50.customername;

错误:

Error: SYSTEM ERROR: AssertionError: Relational expression
rel#873:DrillFilterRel.JDBC.myplugin.ANY([]).
[](input=rel#83:JdbcTableScan.JDBC.myplugin.ANY([]).[](table=[myplugin, 
sampler, test50]),condition=OR(=($18, 759216), =($18, 494636))) has  
calling-convention JDBC.myplugin but does not implement the required interface 
'interface org.apache.calcite.adapter.jdbc.JdbcRel' of that convention

如果我需要一些额外的配置,需要帮助吗?

谢谢

最佳答案

请问现在的master可以吗?看起来它已在 DRILL-6850 中修复.

关于mysql - Apache 钻 - AssertionError : Relational expression,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53516086/

相关文章:

php - 如何传递文件以动态导入?

mysql - 发布 http ://localhost:4200/addTask 404 (Not Found) in Angular2 and node js but values are printing in console

MySQL 查询将多个表中的媒体与另一个表中的元信息关联起来

sql - Apache Drill 使用 IN() 运算符查询 mongo 数组字段类型

php - 使用 select 子查询计算其他表数据并显示在 php laravel 的主表中

sql - 如何在 MySQL 中执行 FULL OUTER JOIN?

hadoop - 在 'Like'运算符上的2个表之间进行钻取连接将返回UNSUPPORTED_OPERATION

apache - 无法在Apache演练中为Hive创建存储插件

hadoop - Apache Drill支持所有ANSI SQL 2003查询

hadoop - Apache Drill 查询 HBase 表