You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2021/11/11 10:57:39 UTC

[GitHub] [incubator-doris] morningman commented on a change in pull request #6883: support bitmap binary data from hive in spark load

morningman commented on a change in pull request #6883:
URL: https://github.com/apache/incubator-doris/pull/6883#discussion_r747400898



##########
File path: fe/spark-dpp/src/main/java/org/apache/doris/load/loadv2/dpp/SparkDpp.java
##########
@@ -557,6 +561,8 @@ public boolean validateData(Object srcValue, EtlJobConfig.EtlColumn etlColumn, C
                                 .otherwise("0"));
             } else if (!column.columnType.equalsIgnoreCase(BITMAP_TYPE) && !dstField.dataType().equals(DataTypes.StringType)) {
                 dataframe = dataframe.withColumn(dstField.name(), dataframe.col(dstField.name()).cast(dstField.dataType()));
+            } else if (column.columnType.equals(BITMAP_TYPE) && dstField.dataType().equals(DataTypes.BinaryType)) {

Review comment:
       ```suggestion
               } else if (column.columnType.equalsIgnoreCase(BITMAP_TYPE) && dstField.dataType().equals(DataTypes.BinaryType)) {
   ```




-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org