0

I have the code below to save a Koalas dataframe to an Orc table. How to modify it to save to an EXTERNAL table?

df.reset_index().to_orc(
    f"/corporativo/mydatabase/mytable",
    mode="overwrite",
    partition_cols=["year", "month"]
)
neves
  • 33,186
  • 27
  • 159
  • 192

0 Answers0