Skip to content

Commit

Permalink
docs: remove duplicate spark backend from operation matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Apr 4, 2022
1 parent da4ca94 commit a366d9c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions gen_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
def get_backends():
pyproject = tomli.loads(Path("pyproject.toml").read_text())
backends = pyproject["tool"]["poetry"]["plugins"]["ibis.backends"]
del backends["spark"]
return [
(backend, getattr(ibis, backend))
for backend in sorted(backends.keys())
Expand All @@ -31,11 +32,6 @@ def get_leaf_classes(op):


def main():
dst = Path(__file__).parent.joinpath(
"docs",
"backends",
"support_matrix.csv",
)
possible_ops = frozenset(get_leaf_classes(ops.ValueOp))

support = {
Expand All @@ -58,8 +54,12 @@ def main():

ops_table = df.loc[:, counts.index].replace(ICONS)
table = pd.concat([coverage, ops_table])
ops_text = table.to_csv(index_label="Backends")
dst.write_text(ops_text)
dst = Path(__file__).parent.joinpath(
"docs",
"backends",
"support_matrix.csv",
)
table.to_csv(dst, index_label="Backends")


main()

0 comments on commit a366d9c

Please sign in to comment.