MaxGekk commented on code in PR #47802:
URL: https://github.com/apache/spark/pull/47802#discussion_r1724945013
##########
common/utils/src/main/resources/error/error-conditions.json:
##########
@@ -3580,6 +3580,23 @@
],
"sqlState" : "42805"
},
+ "PARQUET_CONVERSION_FAILURE" : {
+ "message" : [
+ "Unable to create a Parquet converter for the data type <dataType> whose
Parquet type is <parquetType>."
+ ],
+ "subClass": {
+ "WITHOUT_DECIMAL_METADATA" : {
+ "message" : [
+ " Please read this column/field as Spark BINARY type."
+ ]
+ },
+ "DECIMAL" : {
+ "message" : [
+ " Parquet DECIMAL type can only be backed by INT32, INT64,
FIXED_LEN_BYTE_ARRAY, or BINARY."
Review Comment:
```suggestion
"Parquet DECIMAL type can only be backed by INT32, INT64,
FIXED_LEN_BYTE_ARRAY, or BINARY."
```
##########
common/utils/src/main/resources/error/error-conditions.json:
##########
@@ -3580,6 +3580,23 @@
],
"sqlState" : "42805"
},
+ "PARQUET_CONVERSION_FAILURE" : {
+ "message" : [
+ "Unable to create a Parquet converter for the data type <dataType> whose
Parquet type is <parquetType>."
+ ],
+ "subClass": {
+ "WITHOUT_DECIMAL_METADATA" : {
+ "message" : [
+ " Please read this column/field as Spark BINARY type."
Review Comment:
The gap is not needed because we merge parent's and chid's messages via a
space.
```suggestion
"Please read this column/field as Spark BINARY type."
```
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]