Skip to content

Commit bc02cde

Browse files
authored
Merge pull request #198332 from seesharprun/may16-fix-python-query
May16 fix python query
2 parents c2dd5e8 + 490fc34 commit bc02cde

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/cosmos-db/configure-custom-partitioning.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ df = spark.read\
101101
.option("spark.cosmos.asns.basePath", "/mnt/CosmosDBPartitionedStore/") \
102102
.load()
103103

104-
df_filtered = df.filter("readDate='2020-11-27 00:00:00.000'")
104+
df_filtered = df.filter("readDate='2020-11-01 00:00:00.000'")
105105
display(df_filtered.limit(10))
106106
```
107107

@@ -115,7 +115,7 @@ val df = spark.read.
115115
option("spark.cosmos.asns.partition.keys", "readDate String").
116116
option("spark.cosmos.asns.basePath", "/mnt/CosmosDBPartitionedStore/").
117117
load()
118-
val df_filtered = df.filter("readDate='2020-11-27 00:00:00.000'")
118+
val df_filtered = df.filter("readDate='2020-11-01 00:00:00.000'")
119119
display(df_filtered.limit(10))
120120
```
121121
---

0 commit comments

Comments
 (0)