comphead commented on issue #4492:
URL:
https://github.com/apache/datafusion-comet/issues/4492#issuecomment-4675497920
The flag is internal in Spark 4, so I propose to treat it as false(default)
```
val LEGACY_COMPLEX_TYPES_TO_STRING =
buildConf("spark.sql.legacy.castComplexTypesToString.enabled")
.internal()
.doc("When true, maps and structs are wrapped by [] in casting to
strings, and " +
"NULL elements of structs/maps/arrays will be omitted while
converting to strings. " +
"Otherwise, if this is false, which is the default, maps and structs
are wrapped by {}, " +
"and NULL elements will be converted to \"null\".")
.version("3.1.0")
.booleanConf
.createWithDefault(false)
```
And fallback to Spark if this flag is true
--
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]