spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tdas <>
Subject [GitHub] spark pull request #15951: [SPARK-18510] Fix data corruption from inferred p...
Date Tue, 22 Nov 2016 22:35:18 GMT
Github user tdas commented on a diff in the pull request:
    --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/DataSource.scala
    @@ -144,8 +224,8 @@ case class DataSource(
                   "you may be able to create a static DataFrame on that directory with "
                   "'' and infer schema from it.")
    -        val (schema, partCols) = inferFileFormatSchema(format)
    -        SourceInfo(s"FileSource[$path]", schema, partCols)
    +        val (schema, partCols) = getOrInferFileFormatSchema(format)
    --- End diff --
    rename to dataSchema and partitionSchema

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 or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message