[
https://issues.apache.org/jira/browse/HIVE-19209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16451388#comment-16451388
]
Prasanth Jayachandran commented on HIVE-19209:
----------------------------------------------
Scanner is passed the provided input stream in try..with..resource block. When
scanner completes, it will get closed automatically which will also close the
underlying input stream. Even if the user does a close on input stream it will
be a no-op. I will update the API javadoc to say user doesn't have to close the
input stream.
> Streaming ingest record writers should accept input stream
> ----------------------------------------------------------
>
> Key: HIVE-19209
> URL: https://issues.apache.org/jira/browse/HIVE-19209
> Project: Hive
> Issue Type: Sub-task
> Components: Streaming
> Affects Versions: 3.0.0, 3.1.0
> Reporter: Prasanth Jayachandran
> Assignee: Prasanth Jayachandran
> Priority: Major
> Attachments: HIVE-19209.1.patch
>
>
> Record writers in streaming ingest currently accepts byte[]. Provide an
> option for clients to pass in input stream directly from which byte[] for
> record can be constructed.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)