Created
August 4, 2020 18:32
-
-
Save mingwei-li/004f583f605277a59ef6d923b1dcd15e to your computer and use it in GitHub Desktop.
hyperspace - create
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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