[
https://issues.apache.org/jira/browse/BEAM-8057?focusedWorklogId=460453&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-460453
]
ASF GitHub Bot logged work on BEAM-8057:
----------------------------------------
Author: ASF GitHub Bot
Created on: 17/Jul/20 18:22
Start Date: 17/Jul/20 18:22
Worklog Time Spent: 10m
Work Description: ZijieSong946 commented on a change in pull request
#12292:
URL: https://github.com/apache/beam/pull/12292#discussion_r456603812
##########
File path:
sdks/java/extensions/sql/src/main/java/org/apache/beam/sdk/extensions/sql/meta/provider/bigquery/BeamBigQuerySqlDialect.java
##########
@@ -157,8 +166,13 @@ public void unparseCall(
break;
case OTHER_FUNCTION:
String funName = call.getOperator().getName();
- if (NUMERIC_LITERAL_FUNCTION.equals(funName)) {
- // self-designed function dealing with the unparsing of ZetaSQL
numeric literal
+ if (DOUBLE_FUNCTIONS.containsKey(funName)) {
+ // self-designed function dealing with the unparsing of ZetaSQL
DOUBLE positive
+ // infinity, negative infinity and NaN
+ unparseDoubleWrapperFunction(writer, call);
Review comment:
Acknowledged.
----------------------------------------------------------------
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:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 460453)
Time Spent: 2h 50m (was: 2h 40m)
> Support NAN, INF, and -INF
> --------------------------
>
> Key: BEAM-8057
> URL: https://issues.apache.org/jira/browse/BEAM-8057
> Project: Beam
> Issue Type: Improvement
> Components: dsl-sql-zetasql
> Reporter: Rui Wang
> Priority: P3
> Time Spent: 2h 50m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)