[
https://issues.apache.org/jira/browse/BEAM-2990?focusedWorklogId=89878&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-89878
]
ASF GitHub Bot logged work on BEAM-2990:
----------------------------------------
Author: ASF GitHub Bot
Created on: 11/Apr/18 10:25
Start Date: 11/Apr/18 10:25
Worklog Time Spent: 10m
Work Description: reuvenlax commented on a change in pull request #5079:
[BEAM-2990] support MAP in SQL schema
URL: https://github.com/apache/beam/pull/5079#discussion_r180705567
##########
File path: sdks/java/core/src/main/java/org/apache/beam/sdk/values/Row.java
##########
@@ -355,6 +379,11 @@ public Builder addValues(Object ... values) {
return this;
}
+ public <T1, T2> Builder addMap(Map<T1, T2> data) {
Review comment:
<!--new_thread; commit:7bf9d2048e8d568ee9280629db391775cc490358;
resolved:0-->
Is this overload needed? addArray was needed because otherwise passing an
array into addValues tended to unroll the array, but I don't think Java will do
that for maps.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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: 89878)
Time Spent: 1h 50m (was: 1h 40m)
> support data type MAP
> ---------------------
>
> Key: BEAM-2990
> URL: https://issues.apache.org/jira/browse/BEAM-2990
> Project: Beam
> Issue Type: New Feature
> Components: dsl-sql
> Reporter: Xu Mingmin
> Assignee: Xu Mingmin
> Priority: Major
> Time Spent: 1h 50m
> Remaining Estimate: 0h
>
> support Non-scalar types:
> MAP Collection of keys mapped to values
> ARRAY Ordered, contiguous collection that may contain duplicates
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)