hackergin commented on a change in pull request #18058:
URL: https://github.com/apache/flink/pull/18058#discussion_r765568200



##########
File path: 
flink-connectors/flink-connector-elasticsearch-base/src/main/java/org/apache/flink/connector/elasticsearch/table/IndexGeneratorFactory.java
##########
@@ -88,6 +89,20 @@ private static IndexGenerator createRuntimeIndexGenerator(
                 index.substring(indexPrefix.length() + 
dynamicIndexPatternStr.length());
 
         final boolean isDynamicIndexWithFormat = 
indexHelper.checkIsDynamicIndexWithFormat(index);
+        final boolean isProcTimeDynamicIndex =
+                indexHelper.checkIsProcTimeDynamicIndexWithFormat(index);
+
+        if (isProcTimeDynamicIndex) {
+            final String dateTimeFormat =
+                    indexHelper.extractDateFormat(index, 
LogicalTypeRoot.TIME_WITHOUT_TIME_ZONE);

Review comment:
       I changed to TIMESTAMP_WITHOUT_TIMEZZONE.  As the return type of  now() 
function is  TIMESTAMP .




-- 
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]


Reply via email to