Re: [PR] [FLINK-36642][table] Fix SQL names of built-in functions [flink]

2024-11-04 Thread via GitHub


fhueske merged PR #25605:
URL: https://github.com/apache/flink/pull/25605


-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] [FLINK-36642][table] Fix SQL names of built-in functions [flink]

2024-11-04 Thread via GitHub


flinkbot commented on PR #25605:
URL: https://github.com/apache/flink/pull/25605#issuecomment-2454484739

   
   ## CI report:
   
   * 1c51e884ff5824c2bb41bff3bdbc038a296f6022 UNKNOWN
   
   
   Bot commands
 The @flinkbot bot supports the following commands:
   
- `@flinkbot run azure` re-run the last Azure build
   


-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] [FLINK-36642][table] Fix SQL names of built-in functions [flink]

2024-11-04 Thread via GitHub


fhueske merged PR #25601:
URL: https://github.com/apache/flink/pull/25601


-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] [FLINK-36642][table] Fix SQL names of built-in functions [flink]

2024-11-04 Thread via GitHub


snuyanzin commented on PR #25601:
URL: https://github.com/apache/flink/pull/25601#issuecomment-2454184086

   ok, I see, thanks for clarification here


-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] [FLINK-36642][table] Fix SQL names of built-in functions [flink]

2024-11-04 Thread via GitHub


fhueske commented on PR #25601:
URL: https://github.com/apache/flink/pull/25601#issuecomment-2454168608

   Thanks for the review @snuyanzin!
   I didn't add a test case for `CURRENT_ROW_TIMESTAMP` because there is no 
Table API expression for it yet.
   I fixed the SQL name to have it prepared once a Table API expression is 
added.
   But I can also remove it, if you prefer that.
   
   Thanks, Fabian


-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] [FLINK-36642][table] Fix SQL names of built-in functions [flink]

2024-11-01 Thread via GitHub


snuyanzin commented on PR #25601:
URL: https://github.com/apache/flink/pull/25601#issuecomment-2452295562

   +1 
   LGTM
   
   one minor thing: I noticed there is absent test for CURRENT_ROW_TIMESTAMP
   does it make sense to add it as well?


-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] [FLINK-36642][table] Fix SQL names of built-in functions [flink]

2024-11-01 Thread via GitHub


fhueske commented on code in PR #25601:
URL: https://github.com/apache/flink/pull/25601#discussion_r1825949609


##
flink-table/flink-table-common/src/main/java/org/apache/flink/table/functions/BuiltInFunctionDefinitions.java:
##
@@ -2157,6 +2172,7 @@ ANY, and(logical(LogicalTypeRoot.BOOLEAN), LITERAL)
 public static final BuiltInFunctionDefinition CURRENT_ROW_TIMESTAMP =
 BuiltInFunctionDefinition.newBuilder()
 .name("currentRowTimestamp")
+.name("CURRENT_ROW_TIMESTAMP")

Review Comment:
   Thanks Sergey! Fixed that 😄 



-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] [FLINK-36642][table] Fix SQL names of built-in functions [flink]

2024-11-01 Thread via GitHub


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


##
flink-table/flink-table-common/src/main/java/org/apache/flink/table/functions/BuiltInFunctionDefinitions.java:
##
@@ -2157,6 +2172,7 @@ ANY, and(logical(LogicalTypeRoot.BOOLEAN), LITERAL)
 public static final BuiltInFunctionDefinition CURRENT_ROW_TIMESTAMP =
 BuiltInFunctionDefinition.newBuilder()
 .name("currentRowTimestamp")
+.name("CURRENT_ROW_TIMESTAMP")

Review Comment:
   ```suggestion
   .sqlName("CURRENT_ROW_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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] [FLINK-36642][table] Fix SQL names of built-in functions [flink]

2024-11-01 Thread via GitHub


flinkbot commented on PR #25601:
URL: https://github.com/apache/flink/pull/25601#issuecomment-2451673231

   
   ## CI report:
   
   * e49564a2e36a43ac5a3cb4bd64c0470f3ec9c9df UNKNOWN
   
   
   Bot commands
 The @flinkbot bot supports the following commands:
   
- `@flinkbot run azure` re-run the last Azure build
   


-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org