mapleFU commented on issue #37840:
URL: https://github.com/apache/arrow/issues/37840#issuecomment-1733412893
The month1 schema is:
```
{
"Version": "1.0",
"CreatedBy": "parquet-cpp-arrow version 8.0.0",
"TotalRows": "1114320",
"NumberOfRowGroups": "1",
"NumberOfRealColumns": "7",
"NumberOfColumns": "7",
"Columns": [
{ "Id": "0", "Name": "dispatching_base_num", "PhysicalType":
"BYTE_ARRAY", "ConvertedType": "UTF8", "LogicalType": {"Type": "String"} },
{ "Id": "1", "Name": "pickup_datetime", "PhysicalType": "INT64",
"ConvertedType": "NONE", "LogicalType": {"Type": "Timestamp",
"isAdjustedToUTC": false, "timeUnit": "microseconds", "is_from_converted_type":
false, "force_set_converted_type": false} },
{ "Id": "2", "Name": "dropOff_datetime", "PhysicalType": "INT64",
"ConvertedType": "NONE", "LogicalType": {"Type": "Timestamp",
"isAdjustedToUTC": false, "timeUnit": "microseconds", "is_from_converted_type":
false, "force_set_converted_type": false} },
{ "Id": "3", "Name": "PUlocationID", "PhysicalType": "DOUBLE",
"ConvertedType": "NONE", "LogicalType": {"Type": "None"} },
{ "Id": "4", "Name": "DOlocationID", "PhysicalType": "DOUBLE",
"ConvertedType": "NONE", "LogicalType": {"Type": "None"} },
{ "Id": "5", "Name": "SR_Flag", "PhysicalType": "INT32",
"ConvertedType": "NONE", "LogicalType": {"Type": "Null"} },
{ "Id": "6", "Name": "Affiliated_base_number", "PhysicalType":
"BYTE_ARRAY", "ConvertedType": "UTF8", "LogicalType": {"Type": "String"} }
],
```
The month6 schema is:
```
{
"Version": "2.6",
"CreatedBy": "parquet-cpp-arrow version 12.0.0",
"TotalRows": "1219445",
"NumberOfRowGroups": "1",
"NumberOfRealColumns": "7",
"NumberOfColumns": "7",
"Columns": [
{ "Id": "0", "Name": "dispatching_base_num", "PhysicalType":
"BYTE_ARRAY", "ConvertedType": "UTF8", "LogicalType": {"Type": "String"} },
{ "Id": "1", "Name": "pickup_datetime", "PhysicalType": "INT64",
"ConvertedType": "NONE", "LogicalType": {"Type": "Timestamp",
"isAdjustedToUTC": false, "timeUnit": "microseconds", "is_from_converted_type":
false, "force_set_converted_type": false} },
{ "Id": "2", "Name": "dropOff_datetime", "PhysicalType": "INT64",
"ConvertedType": "NONE", "LogicalType": {"Type": "Timestamp",
"isAdjustedToUTC": false, "timeUnit": "microseconds", "is_from_converted_type":
false, "force_set_converted_type": false} },
{ "Id": "3", "Name": "PUlocationID", "PhysicalType": "INT64",
"ConvertedType": "NONE", "LogicalType": {"Type": "None"} },
{ "Id": "4", "Name": "DOlocationID", "PhysicalType": "INT64",
"ConvertedType": "NONE", "LogicalType": {"Type": "None"} },
{ "Id": "5", "Name": "SR_Flag", "PhysicalType": "INT64",
"ConvertedType": "NONE", "LogicalType": {"Type": "None"} },
{ "Id": "6", "Name": "Affiliated_base_number", "PhysicalType":
"BYTE_ARRAY", "ConvertedType": "UTF8", "LogicalType": {"Type": "String"} }
],
```
I think the problem raises from the schema mismatch
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]