Skip to content

Instantly share code, notes, and snippets.

@mingwei-li
Created August 4, 2020 18:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mingwei-li/004f583f605277a59ef6d923b1dcd15e to your computer and use it in GitHub Desktop.
Save mingwei-li/004f583f605277a59ef6d923b1dcd15e to your computer and use it in GitHub Desktop.
hyperspace - create
val hs = new Hyperspace(spark)
hs.createIndex(df, IndexConfig("index", indexedColumns = Seq("id"), includedColumns = Seq("name")))
hs.indexes.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment