SparkR or sparklyr not showing history

Sagas
Databricks Partner

Hi,

for some reason Azure Databricks doesn't show History if the data is saved with SparkR (2 in the figure below) or Sparklyr (3), but it does show it with Data Ingestion (0) or with PySpark (1). Is this a known bug or am I doing something wrong? Is it possible to save data with R while getting the UserId and Username?

Databricks_history.PNG

PySpark code:

 

test_data = [[4,"d",30],[5,"e",70]]
df = spark.createDataFrame(test_data,['a','b','c']) df.write.mode('append').format("delta").saveAsTable("catalog.schema.table")

 

SparkR df and save to table:

SparkR.PNG

Sparklyr df and save to table:

Sparklyr.PNG