Apache Drill - SQL 服务器插件没有 'Show Tables'
Apache Drill - SQL Server plugin does not 'Show Tables'
使用 Apache Drill,
我成功创建了新插件:mssql
配置:
{
type: "jdbc",
driver: "com.microsoft.sqlserver.jdbc.SQLServerDriver",
url: "jdbc:sqlserver://99.99.99.999:1433;databaseName=ABC",
username: "abcuser",
password: "abcuser",
enabled: true
}
但是当我尝试再次查询时 table 我得到一个错误:
select * from mssql.ABC.dbo.TableName
错误:
org.apache.drill.common.exceptions.UserRemoteException: VALIDATION ERROR: From line 1, column 15 to line 1, column 19: Table 'mssql.ABC.dbo.TableName' not found SQL Query null [Error Id: feba9fdb-1621-438a-9d7c-304e4252a41f on AA99-9AA9A99.xyz.abc.com:31010]
甚至下面的命令 returns 没有 tables:
show tables;
应该是
select * from mssql.dbo.TableName
使用 Apache Drill, 我成功创建了新插件:mssql
配置:
{
type: "jdbc",
driver: "com.microsoft.sqlserver.jdbc.SQLServerDriver",
url: "jdbc:sqlserver://99.99.99.999:1433;databaseName=ABC",
username: "abcuser",
password: "abcuser",
enabled: true
}
但是当我尝试再次查询时 table 我得到一个错误:
select * from mssql.ABC.dbo.TableName
错误:
org.apache.drill.common.exceptions.UserRemoteException: VALIDATION ERROR: From line 1, column 15 to line 1, column 19: Table 'mssql.ABC.dbo.TableName' not found SQL Query null [Error Id: feba9fdb-1621-438a-9d7c-304e4252a41f on AA99-9AA9A99.xyz.abc.com:31010]
甚至下面的命令 returns 没有 tables:
show tables;
应该是
select * from mssql.dbo.TableName