Github user gvramana commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/1092#discussion_r124454027
--- Diff:
integration/spark-common/src/main/scala/org/apache/carbondata/spark/util/CommonUtil.scala
---
@@ -226,11 +226,13 @@ object CommonUtil {
value.matches(pattern)
case "timestamptype" =>
val timeStampFormat = new
SimpleDateFormat(CarbonProperties.getInstance()
- .getProperty(CarbonCommonConstants.CARBON_TIMESTAMP_FORMAT))
+ .getProperty(CarbonCommonConstants.CARBON_TIMESTAMP_FORMAT,
--- End diff --
Partition input should be validated wrt to CARBON_TIMESTAMP_FORMAT. It
should always take SPARK_TIMESTAMP_FORMAT. CARBON_TIMESTAMP_FORMAT is
applicable only for dataload csv input only.
Same for data format.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---