You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately we cannot use this result in SQL since the output is not a table, althought it looks exactly like a table.
Therefore something likeSELECT name FROM (DESCRIBE TABLE ABC) where type='Int32'is not possible.
Proposed solution
Make a table function called describe that can return DESCRIBE output as table. So users will be able to use this functions to get information about the a table and use it in SQL statements.
Somthing like these will be possible:
SELECT name FROM describe(ABC) where type='Int32
SELECT count() FROM describe(jdbc('datasource://abc', 'schema', 'table'))
The text was updated successfully, but these errors were encountered:
SELECT name FROM (DESCRIBE TABLE ABC) where type='Int32'
didn't check that, but most probably allowing that will be simpler/more logical (comparing to introducing table function which is able to accept another tables / table functions).
Use case
DESCRIBE output is something like this:
Unfortunately we cannot use this result in SQL since the output is not a table, althought it looks exactly like a table.
Therefore something like
SELECT name FROM (DESCRIBE TABLE ABC) where type='Int32'
is not possible.Proposed solution
Make a table function called
describe
that can return DESCRIBE output as table. So users will be able to use this functions to get information about the a table and use it in SQL statements.Somthing like these will be possible:
The text was updated successfully, but these errors were encountered: