You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@drill.apache.org by sh...@thomsonreuters.com on 2016/08/22 07:32:20 UTC

about the way to load customized data

Hi,

I'd like to try drill in my project. But the source data has quite strange format which delimited by "|^|" and has line end "|!|". the example likes below.

Aaa|^|bbb|^|ccc|!|

So what's the best way to accomplish the data loading? Shall I extend the storage plugin.

Thanks & Kind regards
Shawn

Re: about the way to load customized data

Posted by Krystal Nguyen <kn...@maprtech.com>.
The fix from DRILL-3149 and its related fixes only address multi-bytes for
line delimiters but not for field delimiters.  DRILL-4660 was opened to
track the support for multi-byte field delimiters.

On Mon, Aug 22, 2016 at 10:32 AM, Parth Chandra <pc...@maprtech.com>
wrote:

> DRILL-3149 (and the related DRILL-4746) fix issues with reading multi-byte
> delimiters.
> You can maybe build from master or wait for the 1.8 release (due out soon
> as we are in the release process).
>
> HTH.
>
>
>
> On Mon, Aug 22, 2016 at 12:32 AM, <sh...@thomsonreuters.com> wrote:
>
> > Hi,
> >
> > I'd like to try drill in my project. But the source data has quite
> strange
> > format which delimited by "|^|" and has line end "|!|". the example likes
> > below.
> >
> > Aaa|^|bbb|^|ccc|!|
> >
> > So what's the best way to accomplish the data loading? Shall I extend the
> > storage plugin.
> >
> > Thanks & Kind regards
> > Shawn
> >
>

Re: about the way to load customized data

Posted by Parth Chandra <pc...@maprtech.com>.
DRILL-3149 (and the related DRILL-4746) fix issues with reading multi-byte
delimiters.
You can maybe build from master or wait for the 1.8 release (due out soon
as we are in the release process).

HTH.



On Mon, Aug 22, 2016 at 12:32 AM, <sh...@thomsonreuters.com> wrote:

> Hi,
>
> I'd like to try drill in my project. But the source data has quite strange
> format which delimited by "|^|" and has line end "|!|". the example likes
> below.
>
> Aaa|^|bbb|^|ccc|!|
>
> So what's the best way to accomplish the data loading? Shall I extend the
> storage plugin.
>
> Thanks & Kind regards
> Shawn
>