madhushreeag commented on code in PR #40677:
URL: https://github.com/apache/superset/pull/40677#discussion_r3352418103
##########
superset/result_set.py:
##########
@@ -184,6 +184,20 @@ def __init__( # pylint: disable=too-many-locals # noqa:
C901
TypeError, # this is super hackey,
# https://issues.apache.org/jira/browse/ARROW-7855
):
+ col_values = db_engine_spec.normalize_column_values(
+ array[column].tolist()
+ )
+ try:
+ pa_data.append(pa.array(col_values))
+ continue
+ except (
+ pa.lib.ArrowInvalid,
+ pa.lib.ArrowTypeError,
+ pa.lib.ArrowNotImplementedError,
+ ValueError,
+ TypeError,
+ ):
+ pass
Review Comment:
Deduped this code block
--
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]