You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I dumped out the schema using a simple python script:
#! /usr/bin/env python3
import pyarrow as pa
import pyarrow.parquet as pq
import sys
schema = pq.read_schema(sys.argv[1])
print(schema)
I was trying to figure out what C++ type is date32[day]? I've looked all over and it SEEMS like the underlying data type is int32_t. But if I try to read it using that type, I get:
terminate called after throwing an instance of 'parquet::ParquetException'
what(): Column converted type mismatch. Column 'Date' has converted type 'DATE' not 'INT_32'
I've also tried using a string but I get this error:
terminate called after throwing an instance of 'parquet::ParquetException'
what(): Column physical type mismatch. Column 'Date' has physical type 'INT32' not 'BYTE_ARRAY'
Here's my code, almost verbatim what is on the example page for Parquet. Nothing I try allows me to read the DATE type:
Describe the bug, including details regarding any error messages, version, and platform.
I have been given a parquet file with the following schema:
I dumped out the schema using a simple python script:
I was trying to figure out what C++ type is date32[day]? I've looked all over and it SEEMS like the underlying data type is int32_t. But if I try to read it using that type, I get:
I've also tried using a string but I get this error:
Here's my code, almost verbatim what is on the example page for Parquet. Nothing I try allows me to read the DATE type:
Looking at the code in streamreader.cc, I see no reference to a DATE type in either the exceptions at the top of the file or the operators below.
Component(s)
C++
The text was updated successfully, but these errors were encountered: