1
に動作していない:https://github.com/databricks/spark-redshift私はテーブルの情報をチェックしていたときのでDatabricksスパーク - 赤方偏移:SORTKEYSは、私はここの指示に従って、Scalaのコードからソートキーを追加しようとしています
ソートキーが間違って実施されている
df.write
.format(formatRS)
.option("url", connString)
.option("jdbcdriver", jdbcDriverRS)
.option("dbtable", table)
.option("tempdir", tempDirRS + table)
.option("usestagingtable", "true")
.option("diststyle", "KEY")
.option("distkey", "id")
.option("sortkeyspec", "INTERLEAVED SORTKEY (id,timestamp)")
.mode(mode)
.save()
:
ソートキー= INTERLEAVED
私は、ソート・キーを追加するための正しい方法を必要としています。