티스토리 뷰

728x90
spark.sql("refresh TABLE schema.table")

https://stackoverflow.com/questions/73294636/spark-refresh-delta-table-in-s3

 

Spark: refresh Delta Table in S3

how can I run the refresh table command on a Delta Table in S3? When I do deltatable = DeltaTable.forPath(spark, "s3a://test-bucket/delta_table/") spark.catalog.refreshTable(deltatable) ...

stackoverflow.com

https://stackoverflow.com/questions/49234471/when-to-execute-refresh-table-my-table-in-spark

 

When to execute REFRESH TABLE my_table in spark?

Consider a code; import org.apache.spark.sql.hive.orc._ import org.apache.spark.sql._ val path = ... val dataFrame:DataFramew = ... val hiveContext = new org.apache.spark.sql.hive.HiveContext(

stackoverflow.com

https://stackoverflow.com/questions/72732739/cache-error-when-querying-table-stored-in-glue-data-catalog-through-zeppelin/74697331#74697331

 

Cache error when querying table stored in Glue Data Catalog through Zeppelin

I have an error with the way Zeppelin cache tables. We update the data in the Glue Data Catalog in real time, so when we want to query a partition that was updated using Spark, sometimes we get the

stackoverflow.com

 

728x90
댓글