prestodb/presto

JDBC driver returns inconsistent capitalization of vendor type names

Open

#22,227 opened on 2024年3月16日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)Java (5,240 forks)batch import
buggood first issue

Repository metrics

Stars
 (15,558 stars)
PR merge metrics
 (平均マージ 34d 14h) (30d で 120 merged PRs)

説明

The vendor type name returned by DatabaseMetadata.getTypeInfo and the type name returned in ResultsetMetadata do not use consistent capitalization.

image

image

create or replace view .... as SELECT * FROM ( VALUES ( cast(0 as integer), NULL), ( cast(1 as integer), INTERVAL '0-00' YEAR TO MONTH), ( cast(2 as integer), INTERVAL '1-01' YEAR TO MONTH), ( cast(3 as integer), INTERVAL -'1-01' YEAR TO MONTH), ( cast(4 as integer), INTERVAL '10-10' YEAR TO MONTH) ) AS t (rnum, ciyrmo);

コントリビューターガイド