Skip to content

Commit

Permalink
[Benchmark] Add index field in schema
Browse files Browse the repository at this point in the history
Multiple indexes per table can be specified, either indexing a single
or multiple attributes.  Additionally, an indexing method may be
specified.
  • Loading branch information
marcelmaltry committed Feb 16, 2024
1 parent 5805da2 commit 1d37833
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions benchmark/_schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,19 @@ table:
scale_factors: any(include('sf'), map(include('sf')), required=False)
# Number of lines in the file. Is counted and added by the benchmark script
lines_in_file: int(required=False)
# Map from index name to 'index', ignored by dbms not supporting indexes
indexes: map(include('index'), required=False)
---
sf: num(min=0, max=1)
---
index:
attributes: any(str(), list(), required=True) # single attribute or list of attributes
# Indexing method, one of
# - array an index base on a sorted array
# - rmi a recursive model index
# Currently ignored by all dbms but mutable
method: str(required=False)
---
config:
args: str(required=False)
pattern: str(required=True)
Expand Down

0 comments on commit 1d37833

Please sign in to comment.