Skip to content

Conversation

@lw-lin
Copy link
Contributor

@lw-lin lw-lin commented Feb 1, 2016

To produce

required group User {
required int64 id;
optional binary email (UTF8);
}

we should do:

Types.requiredGroup()
.required(INT64).named("id")
.required (BINARY).as(UTF8).named("email")
.optional (BINARY).as(UTF8).named("email")
.named("User")

@rdblue @liancheng would you mind taking a look at it when you have time? Thanks!

@liancheng
Copy link
Contributor

+1

I'm merging this to master. Thanks!

@asfgit asfgit closed this in 63d5ae7 Feb 1, 2016
piyushnarang pushed a commit to piyushnarang/parquet-mr that referenced this pull request Jun 15, 2016
To produce
> required group User {
    required int64 id;
    **optional** binary email (UTF8);
 }

we should do:
>
Types.requiredGroup()
      .required(INT64).named("id")
      .~~**required** (BINARY).as(UTF8).named("email")~~
      .**optional** (BINARY).as(UTF8).named("email")
      .named("User")

@rdblue @liancheng would you mind taking a look at it when you have time? Thanks!

Author: Liwei Lin <proflin.me@gmail.com>
Author: proflin <proflin.me@gmail.com>

Closes apache#317 from proflin/PARQUET-495--Fix-mismatches-in-Types-class-comments and squashes the following commits:

f26d57d [Liwei Lin] PARQUET-495: Fix mismatches in Types class comments
839b458 [proflin] Merge remote-tracking branch 'refs/remotes/apache/master'
rdblue pushed a commit to rdblue/parquet-mr that referenced this pull request Jan 6, 2017
To produce
> required group User {
    required int64 id;
    **optional** binary email (UTF8);
 }

we should do:
>
Types.requiredGroup()
      .required(INT64).named("id")
      .~~**required** (BINARY).as(UTF8).named("email")~~
      .**optional** (BINARY).as(UTF8).named("email")
      .named("User")

@rdblue @liancheng would you mind taking a look at it when you have time? Thanks!

Author: Liwei Lin <proflin.me@gmail.com>
Author: proflin <proflin.me@gmail.com>

Closes apache#317 from proflin/PARQUET-495--Fix-mismatches-in-Types-class-comments and squashes the following commits:

f26d57d [Liwei Lin] PARQUET-495: Fix mismatches in Types class comments
839b458 [proflin] Merge remote-tracking branch 'refs/remotes/apache/master'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants