marin-ma opened a new issue, #8794:
URL: https://github.com/apache/incubator-gluten/issues/8794
### Description
For example, for SQL ·SELECT convert_timezone('Europe/Moscow',
'America/Los_Angeles', timestamp_ntz'2022-01-01 00:00:00')·, there should be 2
fallback reasons:
1. The argument type TimestampNTZ is not supported
2. Function `convert_timezone` is not supported
Currently, the validator returns a failure message immediately upon
encountering the first validation failure, which means only one failure reason
is reported. As a result, we only see the fallback log:
`13:31:57.927 WARN org.apache.spark.sql.execution.GlutenFallbackReporter:
Validation failed for plan: Project[QueryId=336], due to: Type TimestampNTZType
not supported..` and the lack of support for `convert_timezone` is not reported
and exposed.
To improve this, we should allow the validator to print all fallback reasons
from java side and native side. By default, the validation should still follow
the current fail-fast behaviour for performance reasons, and add a
configuration to enable this extended logging for debugging purpose.
--
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]