wangbo commented on a change in pull request #3938: URL: https://github.com/apache/incubator-doris/pull/3938#discussion_r446605720
########## File path: docs/zh-CN/administrator-guide/load-data/spark-load-manual.md ########## @@ -277,6 +289,48 @@ PROPERTIES ``` +示例2:上游数据源是hive表的情况 +```sql +step 1:新建hive外部表 +CREATE EXTERNAL TABLE hive_t1 +( + k1 INT, + K2 SMALLINT, + k3 varchar(50), + uuid varchar(100) +) +ENGINE=hive +properties +( +"database" = "tmp", +"table" = "t1", +"hive.metastore.uris" = "thrift://0.0.0.0:8080" +); + +step 2: 提交load命令 +LOAD LABEL db1.label1 +( + DATA FROM TABLE hive_t1 + INTO TABLE tbl1 + COLUMNS TERMINATED BY "," + (k1,k2,k3) Review comment: 👌 ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org