Skip to content

Commit

Permalink
fix stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
usefulalgorithm committed Oct 29, 2024
1 parent b8232f5 commit dde9145
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
2 changes: 1 addition & 1 deletion metaphor/glue/extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def _get_tables(self, database: str):
)
table_type = table.get("TableType")
parameters = table.get("Parameters")
row_count = parameters.get("numRows") if parameters else None
row_count = int(parameters.get("numRows")) if parameters else 0
description = table.get("Description")

dataset = self._init_dataset(
Expand Down
22 changes: 11 additions & 11 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ all = [
"nltk",
"oracledb",
"parse",
"psycopg2",
"pycarlo",
"pyhive",
"pymongo",
Expand All @@ -132,7 +133,7 @@ confluence = ["llama-index", "llama-index-embeddings-azure-openai", "llama-index
datafactory = ["azure-identity", "azure-mgmt-datafactory"]
datahub = ["gql"]
dbt = ["httpx"]
great_expectations = ["great-expectations", "SQLAlchemy","psycopg2"]
great_expectations = ["great-expectations", "SQLAlchemy", "psycopg2"]
hive = ["pyhive", "sasl", "thrift", "thrift-sasl"]
kafka = ["confluent-kafka", "avro", "grpcio-tools"]
looker = ["GitPython", "lkml", "looker-sdk"]
Expand Down

0 comments on commit dde9145

Please sign in to comment.