trinodb / trino

Official repository of Trino, the distributed SQL query engine for big data, formerly known as PrestoSQL (https://trino.io)
https://trino.io
Apache License 2.0
10.41k stars 3k forks source link

Unsupported Hive type: void error #16472

Open mustafahasankhan opened 1 year ago

mustafahasankhan commented 1 year ago

I am using standard JDBC getColumns function to retrieve metadata.

My requests are failing with the following error: io.trino.spi.TrinoException: Unsupported Hive type: void

I believe this could be fixed either by including a new filter to add condition DATA_TYPE <> 'void' here or by adding a new type here

Which one shall I prefer for raising PR?

hashhar commented 1 year ago

cc: @electrum

deliverbi commented 1 year ago

cc: @electrum

@electrum

Hi , any resolution to this issue . We are having this issue with a specific product on site .

cheers

deliverbi commented 1 year ago

@mustafahasankhan

Did you find a workaround for this or re-compile a new driver etc … thanks

I am using standard JDBC getColumns function to retrieve metadata.

My requests are failing with the following error: io.trino.spi.TrinoException: Unsupported Hive type: void

I believe this could be fixed either by including a new filter to add condition DATA_TYPE <> 'void' here or by adding a new type here

Which one shall I prefer for raising PR?

mustafahasankhan commented 1 year ago

@deliverbi No haven't found any solution for this yet.