You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an use case where I am generating a row key based on the list of columns which are part of primary key columns. The feed file comes with same record multiple times. We need to maintain versioning in hbase.
The issue I am facing is here: I would like to specify a dataframe column as a timestamp here
I have an use case where I am generating a row key based on the list of columns which are part of primary key columns. The feed file comes with same record multiple times. We need to maintain versioning in hbase.
The issue I am facing is here: I would like to specify a dataframe column as a timestamp here
def saveToHbase (catalog: String, df: DataFrame, timestamp: String): Unit = { df.write.options( Map(HBaseTableCatalog.tableCatalog -> catalog, HBaseRelation.TIMESTAMP -> timestamp, HBaseTableCatalog.newTable -> "5")) .format("org.apache.spark.sql.execution.datasources.hbase") .save() }
The text was updated successfully, but these errors were encountered: