xitongsys / parquet-go

pure golang library for reading/writing parquet file
Apache License 2.0
1.27k stars 293 forks source link

Unrecognized tag 'converted type' #570

Closed matheusezok closed 1 year ago

matheusezok commented 1 year ago

Why i allways get that error when i try convert my string to UTF8?

package entity

type dataName struct { fieldName string parquet:"name=fieldName, type=BYTE_ARRAY, encoding=PLAIN_DICTIONARY, convertedtype=UTF8" }

Unrecognized tag 'convertedtype'

I following the documentation instructions but not works. Should i have write this tag in some place? I don't see tha't on repo.

Thx.

matheusezok commented 1 year ago

solved. solution is easier than I thought just changed `parquet:"name=fieldName, type=UTF8, encoding=PLAIN_DICTIONARY"´