[
https://issues.apache.org/jira/browse/BEAM-8334?focusedWorklogId=322149&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-322149
]
ASF GitHub Bot logged work on BEAM-8334:
----------------------------------------
Author: ASF GitHub Bot
Created on: 02/Oct/19 18:53
Start Date: 02/Oct/19 18:53
Worklog Time Spent: 10m
Work Description: amaliujia commented on pull request #9704: [BEAM-8334]
Expose Language Options for testing
URL: https://github.com/apache/beam/pull/9704#discussion_r330715056
##########
File path:
sdks/java/extensions/sql/src/main/java/org/apache/beam/sdk/extensions/sql/zetasql/SqlAnalyzer.java
##########
@@ -84,15 +84,19 @@ static Builder withQueryParams(Map<String, Value> params) {
* resolution strategy set in the context.
*/
ResolvedStatement analyze(String sql) {
- AnalyzerOptions options = initAnalyzerOptions(builder.queryParams);
+ AnalyzerOptions options = initAnalyzerOptions();
+ for (Map.Entry<String, Value> entry : builder.queryParams.entrySet()) {
Review comment:
Ok maybe just a function and we can leave more work for future.
----------------------------------------------------------------
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: 322149)
Time Spent: 50m (was: 40m)
> Expose Language Options for testing
> -----------------------------------
>
> Key: BEAM-8334
> URL: https://issues.apache.org/jira/browse/BEAM-8334
> Project: Beam
> Issue Type: New Feature
> Components: dsl-sql-zetasql
> Reporter: Andrew Pilloud
> Assignee: Andrew Pilloud
> Priority: Trivial
> Time Spent: 50m
> Remaining Estimate: 0h
>
> Google has a set of compliance tests for ZetaSQL. The test framework needs
> access to LanguageOptions to determine what tests are supported.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)