spaces-X opened a new issue, #12078: URL: https://github.com/apache/doris/issues/12078
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and found no similar issues. ### Description Doris Table DDL: ``` CREATE TABLE `test` ( `partition_date` date NULL COMMENT "date" `tag_group` bigint(20) NULL COMMENT "标签组", `bucket` int(11) NOT NULL COMMENT "分桶字段", `confidence` tinyint(4) NULL DEFAULT "100" COMMENT "置信度", `user` bitmap BITMAP_UNION NULL COMMENT "" ) ENGINE=OLAP AGGREGATE KEY(`tag_group`,`tag_range`, `bucket`, `confidence`) COMMENT "test" DISTRIBUTED BY HASH(`bucket`) BUCKETS 64 PROPERTIES ( "replication_allocation" = "tag.location.default: 3", "in_memory" = "false", "storage_format" = "V2" ); ``` Load SQL like this: ``` LOAD LABEL ads_test_content_brain.dmp_testing ( DATA INFILE( "hdfs://xxx/user/bp_user/user/hourong/test_dmp_v3/part-00000-d4d655f3-7af7-4179-992d-3ae27d88aeff-c000.csv" ) INTO TABLE test COLUMNS TERMINATED BY "," FORMAT AS "CSV" (`user_id`,`tag_group`,`tag_range`,`bucket`,`confidence`) SET( partition_date = '2022-08-22' , tag_group = tag_group , tag_range = tag_range, bucket = bucket, confidence = confidence user = to_bitmap(user_id)) --- here `user_id` does not match the column name in doris ) WITH RESOURCE "xxx" ( xxx ) PROPERTIES ( xxx ); ``` The input of column `user` will be null caused by mapping column is not supported fully. ### Solution Support mapping columns in spark load ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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]
