What is default location when using "writeStream"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
โ10-19-2022 07:19 PM
Hi,
Assume that I want to write a table by" writeStream". Where is the default location on DBFS where the table is saved?
Sample code:
spark.table("TEMP_SILVER").writeStream
.option("checkpointLocation", "dbfs:/user/AAA@gmail.com")
.trigger(availableNow=True)
.table("silver")
- Labels:
-
DBFS
-
Default Location
-
Writestream
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
โ10-24-2022 11:31 AM
Hi @Mohammad Saberโ ,
I would like to share the following docs that will help you to undertand better what this Structured Streaming API does:
1)https://spark.apache.org/docs/3.2.0/api/java/org/apache/spark/sql/streaming/DataStreamWriter.html#toTable-java.lang.String-
I hope it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
โ11-27-2022 05:44 AM
Hi @Mohammad Saberโ
Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help.
We'd love to hear from you.
Thanks!

