gpt4 book ai didi

mysql - Apache 钻 - AssertionError : Relational expression

转载 作者:行者123 更新时间:2023-11-29 05:51:30 27 4
gpt4 key购买 nike

运行 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/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com