You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by GitBox <gi...@apache.org> on 2019/12/29 09:57:28 UTC
[GitHub] [carbondata] niuge01 commented on a change in pull request #3542:
[CARBONDATA-3640] Insert from stage command support partition table
niuge01 commented on a change in pull request #3542: [CARBONDATA-3640] Insert from stage command support partition table
URL: https://github.com/apache/carbondata/pull/3542#discussion_r361839004
##########
File path: integration/spark2/src/main/scala/org/apache/spark/sql/execution/command/management/CarbonInsertFromStageCommand.scala
##########
@@ -269,11 +281,90 @@ case class CarbonInsertFromStageCommand(
SparkSQLUtil.sessionState(spark).newHadoopConf()
).map { row =>
(row._1, FailureCauses.NONE == row._2._2.failureCauses)
- }
+ }
+
+ LOGGER.info(s"finish data loading, time taken ${System.currentTimeMillis() - start}ms")
+ }
+
+ /**
+ * Start global sort loading of partition table
+ */
+ private def startLoadingWithPartition(
+ spark: SparkSession,
+ table: CarbonTable,
+ loadModel: CarbonLoadModel,
+ stageInput: Seq[StageInput]
+ ): Unit = {
+ val partitionDataList = listPartitionFiles(stageInput)
+ val start = System.currentTimeMillis()
+ var index = 0
+ partitionDataList.map(
Review comment:
done
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services