manticore-projects / JDBCParquetWriter

Write JDBC ResultSet to Parquet File
http://manticore-projects.com/JDBCParquetWriter
Other
10 stars 2 forks source link

fix: support sql type BIGINT #7

Closed hooklee2000 closed 2 months ago

hooklee2000 commented 2 months ago

it raise exception when handle bigint:

java.lang.UnsupportedOperationException: org.apache.parquet.column.values.dictionary.DictionaryValuesWriter$PlainIntegerDictionaryValuesWriter
        at org.apache.parquet.column.values.ValuesWriter.writeLong(ValuesWriter.java:119)
        at org.apache.parquet.column.values.fallback.FallbackValuesWriter.writeLong(FallbackValuesWriter.java:192)

we need also treat the schema of bigint as int64. fixes #6

manticore-projects commented 2 months ago

Thank you very much for you help and contribution, cheers!