gpt4 book ai didi

apache-drill - Apache Drill 一次支持多个查询吗?

转载 作者:行者123 更新时间:2023-12-02 04:42:40 27 4
gpt4 key购买 nike

我想一次运行选择 Sql Server 查询。我在嵌入式模式下使用 Drill。

select * from <storagePluginName1>.<schemaName>.<tableName>;

select * from <storagePluginName2>.<schemaName>.<tableName>;

例子:-

select * from SqlServer.dbo.`Category`;
select * from sqldemo.dbo.`Attributes`;

Whether Apache Drill Supports Multiple Query at one time or not.??? If Yes then How.??

最佳答案

因此,您在嵌入式模式下运行,并希望从 sqlline 并行运行多个查询。方法如下:

  • 启动 Drill 后,对 webUI 执行操作并检查“用户端口”显示的值,假设它是:172.30.1.119:31010
  • 您可以通过运行创建连接到同一个 Drillbit 的其他 sqlline 实例

    sqlline -u jdbc:drill:drillbit=172.30.1.119:31010

现在您将能够从那些 sqlline 实例提交并行查询。您可以在 webUI 中检查查询是否确实在同时运行。

关于apache-drill - Apache Drill 一次支持多个查询吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36220864/

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