prestodb/presto

JDBC driver returns inconsistent capitalization of vendor type names

開放

#22,227 建立於 2024年3月16日

 (1 則留言) (0 個反應) (0 位負責人)Java (5,240 個分叉)batch import
buggood first issue

倉庫指標

星標
 (15,558 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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);

貢獻者指南