snuyanzin commented on code in PR #27435:
URL: https://github.com/apache/flink/pull/27435#discussion_r2701665048


##########
flink-table/flink-table-planner/src/test/resources/org/apache/flink/table/planner/plan/nodes/exec/stream/PythonCalcJsonPlanTest_jsonplan/testTimestampFunction.out:
##########
@@ -0,0 +1,102 @@
+{
+  "flinkVersion" : "",
+  "nodes" : [ {
+    "id" : 1,
+    "type" : "stream-exec-values_1",
+    "tuples" : [ [ {
+      "kind" : "LITERAL",
+      "value" : 0,
+      "type" : "INT NOT NULL"
+    } ] ],
+    "outputType" : "ROW<`ZERO` INT NOT NULL>",
+    "description" : "Values(tuples=[[{ 0 }]])",
+    "inputProperties" : [ ]
+  }, {
+    "id" : 2,
+    "type" : "stream-exec-calc_1",
+    "projection" : [ {
+      "kind" : "LITERAL",
+      "value" : 1,
+      "type" : "BIGINT NOT NULL"
+    }, {
+      "kind" : "CALL",
+      "syntax" : "SPECIAL",
+      "internalName" : "$CAST$1",
+      "operands" : [ {
+        "kind" : "CALL",
+        "syntax" : "FUNCTION_ID",
+        "internalName" : "$CURRENT_TIMESTAMP$1",
+        "operands" : [ ],
+        "type" : "TIMESTAMP(3) WITH LOCAL TIME ZONE NOT NULL"

Review Comment:
   here after fix it now generates `"syntax" : "FUNCTION_ID",` again
   
   `"operands" : [ ],` would make sense to skip
   I'll do in in PR to master



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