Skip to content

[SPARK-24157][SS][FOLLOWUP] Rename to spark.sql.streaming.noDataMicroBatches.enabled#22476

Closed
rxin wants to merge 1 commit intoapache:masterfrom
rxin:SPARK-24157
Closed

[SPARK-24157][SS][FOLLOWUP] Rename to spark.sql.streaming.noDataMicroBatches.enabled#22476
rxin wants to merge 1 commit intoapache:masterfrom
rxin:SPARK-24157

Conversation

@rxin
Copy link
Contributor

@rxin rxin commented Sep 19, 2018

What changes were proposed in this pull request?

This patch changes the config option spark.sql.streaming.noDataMicroBatchesEnabled to spark.sql.streaming.noDataMicroBatches.enabled to be more consistent with rest of the configs. Unfortunately there is one streaming config called spark.sql.streaming.metricsEnabled. For that one we should just use a fallback config and change it in a separate patch.

How was this patch tested?

Made sure no other references to this config are in the code base:

> git grep "noDataMicro"
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala:    buildConf("spark.sql.streaming.noDataMicroBatches.enabled")

@rxin
Copy link
Contributor Author

rxin commented Sep 19, 2018

cc @tdas @marmbrus @jose-torres

@dongjoon-hyun
Copy link
Member

nit. Could you update the title [SPARK-24157][SS][FOLLOWUP] Rename to spark.sql.streaming.noDataMicroBatches.enabled?

@rxin rxin changed the title [SPARK-24157] spark.sql.streaming.noDataMicroBatches.enabled [SPARK-24157][SS][FOLLOWUP] Rename to spark.sql.streaming.noDataMicroBatches.enabled Sep 19, 2018
@rxin
Copy link
Contributor Author

rxin commented Sep 19, 2018

done

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.

@tdas
Copy link
Contributor

tdas commented Sep 20, 2018

LGTM.
Please make sure to merge it to 2.4

@SparkQA
Copy link

SparkQA commented Sep 20, 2018

Test build #96297 has finished for PR 22476 at commit 37716c8.

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

@rxin
Copy link
Contributor Author

rxin commented Sep 20, 2018

Merged in master/2.4.

asfgit pushed a commit that referenced this pull request Sep 20, 2018
…Batches.enabled

## What changes were proposed in this pull request?
This patch changes the config option `spark.sql.streaming.noDataMicroBatchesEnabled` to `spark.sql.streaming.noDataMicroBatches.enabled` to be more consistent with rest of the configs. Unfortunately there is one streaming config called `spark.sql.streaming.metricsEnabled`. For that one we should just use a fallback config and change it in a separate patch.

## How was this patch tested?
Made sure no other references to this config are in the code base:
```
> git grep "noDataMicro"
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala:    buildConf("spark.sql.streaming.noDataMicroBatches.enabled")
```

Closes #22476 from rxin/SPARK-24157.

Authored-by: Reynold Xin <rxin@databricks.com>
Signed-off-by: Reynold Xin <rxin@databricks.com>
(cherry picked from commit 936c920)
Signed-off-by: Reynold Xin <rxin@databricks.com>
@asfgit asfgit closed this in 936c920 Sep 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants