Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update
  • Loading branch information
Sephiroth-Lin committed Jul 7, 2015
commit 00698956a6a12fff2fd2576fada559767d6a7784
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ private[parquet] class CatalystSchemaConverter(
.buildGroup(repetition).as(LIST)
.addField(
Types.repeatedGroup()
.addField(convertField(StructField("array", elementType, containsNull)))
.addField(convertField(StructField("element", elementType, containsNull)))
.named("list"))
.named(field.name)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ class ParquetSchemaSuite extends ParquetSchemaTest {
"""message root {
| optional group f1 (LIST) {
| repeated group list {
| optional int32 array;
| optional int32 element;
| }
| }
|}
Expand Down Expand Up @@ -636,7 +636,7 @@ class ParquetSchemaSuite extends ParquetSchemaTest {
"""message root {
| optional group f1 (LIST) {
| repeated group list {
| required int32 array;
| required int32 element;
| }
| }
|}
Expand Down