aboutsummaryrefslogtreecommitdiff
path: root/sql/core/src/test/resources/structured-streaming/checkpoint-version-2.1.0/state/0/6/2.delta
diff options
context:
space:
mode:
authorKunal Khamar <kkhamar@outlook.com>2017-03-17 16:16:22 -0700
committerTathagata Das <tathagata.das1565@gmail.com>2017-03-17 16:16:22 -0700
commit3783539d7ab83a2a632a9f35ca66ae39d01c28b6 (patch)
tree3a0116afdb691aedd54ae25cb0924affafa49289 /sql/core/src/test/resources/structured-streaming/checkpoint-version-2.1.0/state/0/6/2.delta
parent7de66bae58733595cb88ec899640f7acf734d5c4 (diff)
downloadspark-3783539d7ab83a2a632a9f35ca66ae39d01c28b6.tar.gz
spark-3783539d7ab83a2a632a9f35ca66ae39d01c28b6.tar.bz2
spark-3783539d7ab83a2a632a9f35ca66ae39d01c28b6.zip
[SPARK-19873][SS] Record num shuffle partitions in offset log and enforce in next batch.
## What changes were proposed in this pull request? If the user changes the shuffle partition number between batches, Streaming aggregation will fail. Here are some possible cases: - Change "spark.sql.shuffle.partitions" - Use "repartition" and change the partition number in codes - RangePartitioner doesn't generate deterministic partitions. Right now it's safe as we disallow sort before aggregation. Not sure if we will add some operators using RangePartitioner in future. ## How was this patch tested? - Unit tests - Manual tests - forward compatibility tested by using the new `OffsetSeqMetadata` json with Spark v2.1.0 Author: Kunal Khamar <kkhamar@outlook.com> Closes #17216 from kunalkhamar/num-partitions.
Diffstat (limited to 'sql/core/src/test/resources/structured-streaming/checkpoint-version-2.1.0/state/0/6/2.delta')
-rw-r--r--sql/core/src/test/resources/structured-streaming/checkpoint-version-2.1.0/state/0/6/2.deltabin0 -> 79 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/sql/core/src/test/resources/structured-streaming/checkpoint-version-2.1.0/state/0/6/2.delta b/sql/core/src/test/resources/structured-streaming/checkpoint-version-2.1.0/state/0/6/2.delta
new file mode 100644
index 0000000000..e69925caba
--- /dev/null
+++ b/sql/core/src/test/resources/structured-streaming/checkpoint-version-2.1.0/state/0/6/2.delta
Binary files differ