Skip to content

Conversation

@WangGuangxin
Copy link
Contributor

What changes were proposed in this pull request?

There are some hardcoded configs, using config entry to replace them.

How was this patch tested?

Existing UT

@WangGuangxin WangGuangxin changed the title [SPARK-28257]Use ConfigEntry for hardcoded configs in SQL [SPARK-28257][SQL][MINOR]Use ConfigEntry for hardcoded configs in SQL Jul 5, 2019
Copy link
Member

@wangyum wangyum left a comment

Choose a reason for hiding this comment

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

Could you replace more configs:

spark.sql.warehouse.dir
spark.sql.sources.schemaStringLengthThreshold
spark.sql.hive.thriftServer.singleSession
spark.sql.extensions
spark.sql.streaming.streamingQueryListeners
spark.sql.ui.retainedExecutions

@jerryshao
Copy link
Contributor

ok to test.

@SparkQA
Copy link

SparkQA commented Jul 5, 2019

Test build #107283 has finished for PR 25059 at commit 16236b7.

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

@dongjoon-hyun
Copy link
Member

Hi, @WangGuangxin . We don't need to put [MINOR] if you have a JIRA ID.

@dongjoon-hyun dongjoon-hyun changed the title [SPARK-28257][SQL][MINOR]Use ConfigEntry for hardcoded configs in SQL [SPARK-28257][SQL] Use ConfigEntry for hardcoded configs in SQL Jul 5, 2019
@WangGuangxin
Copy link
Contributor Author

Could you replace more configs:

spark.sql.warehouse.dir
spark.sql.sources.schemaStringLengthThreshold
spark.sql.hive.thriftServer.singleSession
spark.sql.extensions
spark.sql.streaming.streamingQueryListeners
spark.sql.ui.retainedExecutions

done

@SparkQA
Copy link

SparkQA commented Jul 6, 2019

Test build #107296 has finished for PR 25059 at commit 9198d28.

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

@dongjoon-hyun
Copy link
Member

Retest this please.

@SparkQA
Copy link

SparkQA commented Jul 10, 2019

Test build #107476 has finished for PR 25059 at commit 9198d28.

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

@dongjoon-hyun
Copy link
Member

This is a little huge for this kind of patch. However, it looks correct. I finished my first round review. Could you update this PR, @WangGuangxin ?

@SparkQA
Copy link

SparkQA commented Jul 11, 2019

Test build #107533 has finished for PR 25059 at commit 89da7a9.

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

@WangGuangxin
Copy link
Contributor Author

This is a little huge for this kind of patch. However, it looks correct. I finished my first round review. Could you update this PR, @WangGuangxin ?

Thanks for your comments. I believe I've resolved all related comments & conflicts.

@SparkQA
Copy link

SparkQA commented Jul 11, 2019

Test build #107541 has finished for PR 25059 at commit e601c74.

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

@dongjoon-hyun
Copy link
Member

Thank you for updating, @WangGuangxin . There are a few more remaining nits.

@SparkQA
Copy link

SparkQA commented Jul 12, 2019

Test build #107568 has finished for PR 25059 at commit b39fb62.

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

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

+1, LGTM. Merged to master.
Thank you, @WangGuangxin and @maropu !

@WangGuangxin WangGuangxin deleted the ConfigEntry branch July 12, 2019 09:32
vinodkc pushed a commit to vinodkc/spark that referenced this pull request Jul 18, 2019
## What changes were proposed in this pull request?

There are some hardcoded configs, using config entry to replace them.

## How was this patch tested?

Existing UT

Closes apache#25059 from WangGuangxin/ConfigEntry.

Authored-by: wangguangxin.cn <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants