Skip to content

Commit

Permalink
chore: reorganize functions
Browse files Browse the repository at this point in the history
  • Loading branch information
eakmanrq committed Dec 24, 2024
1 parent ca1836d commit 5dd7afa
Show file tree
Hide file tree
Showing 26 changed files with 2,929 additions and 2,491 deletions.
609 changes: 300 additions & 309 deletions sqlframe/base/function_alternatives.py

Large diffs are not rendered by default.

1,065 changes: 1,038 additions & 27 deletions sqlframe/base/functions.py

Large diffs are not rendered by default.

32 changes: 32 additions & 0 deletions sqlframe/base/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,38 @@ def _to_row(cls, columns: t.List[str], values: t.Iterable[t.Any]) -> Row:
converted_values.append(cls._to_value(value))
return _create_row(columns, converted_values)

@property
def _is_bigquery(self) -> bool:
return False

@property
def _is_databricks(self) -> bool:
return False

@property
def _is_duckdb(self) -> bool:
return False

@property
def _is_postgres(self) -> bool:
return False

@property
def _is_redshift(self) -> bool:
return False

@property
def _is_snowflake(self) -> bool:
return False

@property
def _is_spark(self) -> bool:
return False

@property
def _is_standalone(self) -> bool:
return False

class Builder:
SQLFRAME_INPUT_DIALECT_KEY = "sqlframe.input.dialect"
SQLFRAME_OUTPUT_DIALECT_KEY = "sqlframe.output.dialect"
Expand Down
Loading

0 comments on commit 5dd7afa

Please sign in to comment.