calcite
calcite copied to clipboard
[CALCITE-3468] JDBC adapter may generate casts on Oracle for varchar without the precision and for char with the precision exceeding max length of Oracle
Oracle requires VARCHAR with precision, and the max precision of VARCHAR is 4000, the max precision of CHAR is 2000. When the precision of CHAR is not assigned, it has the default value 1 which is the same as Calcite.
Hi @wenhuitang, could you rebase the PR?