Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-24368][SQL] Removing columnPruning from CSVOptions #21414

Closed
wants to merge 1 commit into from

Conversation

MaxGekk
Copy link
Member

@MaxGekk MaxGekk commented May 23, 2018

What changes were proposed in this pull request?

In the PR, I removed the private columnPruning value from CSVOptions. The flag is initialized in place by reading of spark.sql.csv.parser.columnPruning.enabled. It should make UnivocityParserSuite more stable.

@@ -25,7 +25,6 @@ import org.apache.commons.lang3.time.FastDateFormat

import org.apache.spark.internal.Logging
import org.apache.spark.sql.catalyst.util._
import org.apache.spark.sql.internal.SQLConf

class CSVOptions(
@transient val parameters: CaseInsensitiveMap[String],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can add the columnPruning conf here, like what we are doing for sparkSession.sessionState.conf.sessionLocalTimeZone

@MaxGekk MaxGekk closed this May 23, 2018
@SparkQA
Copy link

SparkQA commented May 23, 2018

Test build #91057 has finished for PR 21414 at commit 6fdd435.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@MaxGekk MaxGekk deleted the univocity-parser-suite branch August 17, 2019 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants