We, at LendingClub, using Presto "0.157.1.t.0.5-1.x86_64" and we access Presto with JDBC in SQLWorkBench. while we are trying to list Columns in any database in "Database Explorer" , most of the time it hangs.
We saw in Discovery URI the query its trying is
SELECT * FROM "hive"."information_schema"."columns" WHERE table_schema like '<schema_name>' AND table_name LIKE '<table_name>' AND column_name LIKE '%'
In this scenario, most of the time this hangs .
We also reproduced the issue by smaller query
SELECT * FROM "hive"."information_schema"."columns" WHERE table_schema like '<schema_name>' hangs
But
SELECT * FROM "hive"."information_schema"."columns" WHERE table_schema = '<schema_name>'
send result immediately
We, at LendingClub, using Presto "0.157.1.t.0.5-1.x86_64" and we access Presto with JDBC in SQLWorkBench. while we are trying to list Columns in any database in "Database Explorer" , most of the time it hangs.
We saw in Discovery URI the query its trying is
SELECT * FROM "hive"."information_schema"."columns" WHERE table_schema like '<schema_name>' AND table_name LIKE '<table_name>' AND column_name LIKE '%'In this scenario, most of the time this hangs .
We also reproduced the issue by smaller query
SELECT * FROM "hive"."information_schema"."columns" WHERE table_schema like '<schema_name>'hangsBut
SELECT * FROM "hive"."information_schema"."columns" WHERE table_schema = '<schema_name>'send result immediately