Skip to content

Commit

Permalink
fixup! cfr: Add support to export systables to a tarfile
Browse files Browse the repository at this point in the history
  • Loading branch information
seut committed May 24, 2024
1 parent b9f8ff2 commit 65ec890
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions cratedb_toolkit/cfr/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
# Distributed under the terms of the AGPLv3 license, see LICENSE.
import logging
import sys
import tempfile
from pathlib import Path

import click
from click_aliases import ClickAliasedGroup
Expand Down
1 change: 1 addition & 0 deletions cratedb_toolkit/cfr/systable.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ def make_tarfile(source_folder: Path, target_file_path: Path) -> Path:
tar.add(source_folder.absolute(), arcname=os.path.basename(source_folder))
return target_file_path

Check warning on line 193 in cratedb_toolkit/cfr/systable.py

View check run for this annotation

Codecov / codecov/patch

cratedb_toolkit/cfr/systable.py#L191-L193

Added lines #L191 - L193 were not covered by tests


class SystemTableImporter:
"""
Import schema and data about CrateDB system tables.
Expand Down

0 comments on commit 65ec890

Please sign in to comment.