Skip to content
This repository was archived by the owner on Jun 14, 2024. It is now read-only.

Conversation

@sezruby
Copy link
Collaborator

@sezruby sezruby commented Dec 30, 2021

What is the context for this pull request?

What changes were proposed in this pull request?

Add python binding for ZOrderCoveringIndexConfig to create ZOrderCoveringIndex via python API.

Example:

from hyperspace import Hyperspace
from hyperspace import ZOrderCoveringIndexConfig
hs = Hyperspace(spark)
idxConfig = ZOrderCoveringIndexConfig("idxName", ['colA', 'colB'], ['colC'])
df = spark.read.parquet("path/to/data")
hs.createIndex(df, idxConfig)

Does this PR introduce any user-facing change?

Yes

How was this patch tested?

Added a python test

@sezruby sezruby self-assigned this Dec 30, 2021
@sezruby sezruby requested a review from clee704 December 30, 2021 00:53
@sezruby sezruby added the enhancement New feature or request label Dec 30, 2021
@sezruby sezruby mentioned this pull request Dec 30, 2021
4 tasks
@sezruby sezruby merged commit db4bef4 into microsoft:master Jan 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants