[
https://issues.apache.org/jira/browse/BEAM-11482?focusedWorklogId=527734&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-527734
]
ASF GitHub Bot logged work on BEAM-11482:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 23/Dec/20 17:59
Start Date: 23/Dec/20 17:59
Worklog Time Spent: 10m
Work Description: TheNeuralBit commented on a change in pull request
#13572:
URL: https://github.com/apache/beam/pull/13572#discussion_r548095254
##########
File path: sdks/java/core/src/main/java/org/apache/beam/sdk/util/SqlRows.java
##########
@@ -0,0 +1,132 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.beam.sdk.util;
+
+import static org.apache.beam.sdk.util.Preconditions.checkArgumentNotNull;
+
+import java.io.ByteArrayInputStream;
+import java.io.ByteArrayOutputStream;
+import java.io.IOException;
+import org.apache.beam.sdk.coders.Coder;
+import org.apache.beam.sdk.schemas.Schema;
+import org.apache.beam.sdk.schemas.SchemaProvider;
+import org.apache.beam.sdk.transforms.ProcessFunction;
+import org.apache.beam.sdk.transforms.SerializableFunction;
+import org.apache.beam.sdk.transforms.SimpleFunction;
+import org.apache.beam.sdk.values.Row;
+import org.apache.beam.sdk.values.TypeDescriptor;
+
+public final class SqlRows {
Review comment:
Yes this sounds ideal. As far as 3.0 - I think it would make sense to
start working on it in 2.x versions as an `@Experimental` API. We shouldn't
remove the existing IOs prior to a major version change, but it would be fine
to start work on an alternative. This would be similar to (and related to) the
`SchemaIOProvider` concept we had a Google intern work on last summer:
- https://s.apache.org/schemaio-development-guide
- http://s.apache.org/beam-schema-io
Would you have any interest in working on an effort like this?
CC: @robinyqiu a design like this would be relevant for your work on IOs
----------------------------------------------------------------
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: 527734)
Time Spent: 14.5h (was: 14h 20m)
> Thrift support for KafkaTableProvider
> -------------------------------------
>
> Key: BEAM-11482
> URL: https://issues.apache.org/jira/browse/BEAM-11482
> Project: Beam
> Issue Type: New Feature
> Components: dsl-sql, io-java-kafka
> Reporter: Costi Ciudatu
> Assignee: Costi Ciudatu
> Priority: P2
> Time Spent: 14.5h
> Remaining Estimate: 0h
>
> Kafka table provider can leverage the Thrift coder and schema provider
> defined in the IO package to handle thrift input/output.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)