Github user rtreffer commented on a diff in the pull request:
https://github.com/apache/spark/pull/6796#discussion_r32891379
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/parquet/ParquetTypes.scala ---
@@ -289,7 +295,20 @@ private[parquet] object ParquetTypesConverter extends
Logging {
name: String,
nullable: Boolean = true,
inArray: Boolean = false,
+ parquetSchema: Option[ParquetType] = None,
toThriftSchemaNames: Boolean = false): ParquetType = {
+
+ val parquetElementTypeBySchema =
--- End diff --
Ah, yes, an early version had that, I somehow moved to this verbose code O.o
Thanks
Am 21. Juni 2015 02:33:15 MESZ, schrieb Davies Liu
<[email protected]>:
>> toThriftSchemaNames: Boolean = false): ParquetType = {
>> +
>> + val parquetElementTypeBySchema =
>
>These could be
>```
>parquetSchema.filter(_.containsField(name)).map(_.getType(name))
>```
>
>---
>Reply to this email directly or view it on GitHub:
>https://github.com/apache/spark/pull/6796/files#r32889401
--
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]