You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Eugene Koifman (JIRA)" <ji...@apache.org> on 2017/02/08 00:36:41 UTC

[jira] [Comment Edited] (HIVE-15691) Create StrictRegexWriter to work with RegexSerializer for Flume Hive Sink

    [ https://issues.apache.org/jira/browse/HIVE-15691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15857108#comment-15857108 ] 

Eugene Koifman edited comment on HIVE-15691 at 2/8/17 12:36 AM:
----------------------------------------------------------------

What is main use case this is designed for that DelimitedWriter can't handle?  Using different delimiters in the same row?  Maybe the unit tests should be more elaborate to illustrate that.


Why are there so many StrictRegexWriter() c'tors?
It seems like a StrictRegexWriter w/o a regex or EndPoint or Connection, etc is not useful - it will just NPE in various places. 

[~roshan_naik] do you have any comments on this?


was (Author: ekoifman):
What is main use case this is designed for that DelimitedWriter can't handle?  Using different delimiters in the same row?  Maybe the unit tests should be more elaborate to illustrate that.


Why are there so many StrictRegexWriter() c'tors?
It seems like a StrictRegexWriter w/o a regex or EndPoint or Connection, etc is not useful - it will just NPE in various places. 

> Create StrictRegexWriter to work with RegexSerializer for Flume Hive Sink
> -------------------------------------------------------------------------
>
>                 Key: HIVE-15691
>                 URL: https://issues.apache.org/jira/browse/HIVE-15691
>             Project: Hive
>          Issue Type: New Feature
>          Components: HCatalog, Transactions
>            Reporter: Kalyan
>            Assignee: Kalyan
>         Attachments: HIVE-15691.1.patch, HIVE-15691.patch, HIVE-15691-updated.patch
>
>
> Create StrictRegexWriter to work with RegexSerializer for Flume Hive Sink.
> It is similar to StrictJsonWriter available in hive.
> Dependency is there in flume to commit.
> FLUME-3036 : Create a RegexSerializer for Hive Sink.
> Patch is available for Flume, Please verify the below link
> https://github.com/kalyanhadooptraining/flume/commit/1c651e81395404321f9964c8d9d2af6f4a2aaef9



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)