Skip to content

Commit

Permalink
chore: rename ibis.backends.base.sql.glot to ibis.backends.base.sqlglot
Browse files Browse the repository at this point in the history
  • Loading branch information
kszucs committed Sep 3, 2023
1 parent 16d588d commit e17ac89
Show file tree
Hide file tree
Showing 14 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion ibis/backends/base/sql/alchemy/datatypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

import ibis.expr.datatypes as dt
from ibis.backends.base.sql.alchemy.geospatial import geospatial_supported
from ibis.backends.base.sql.glot.datatypes import SqlglotType
from ibis.backends.base.sqlglot.datatypes import SqlglotType
from ibis.common.collections import FrozenDict
from ibis.formats import TypeMapper

Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import ibis.expr.datatypes as dt
import ibis.tests.strategies as its
from ibis.backends.base.sql.glot.datatypes import SqlglotType
from ibis.backends.base.sqlglot.datatypes import SqlglotType


def assert_dtype_roundtrip(ibis_type, sqlglot_expected=None):
Expand Down
2 changes: 1 addition & 1 deletion ibis/backends/clickhouse/datatypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import ibis
import ibis.expr.datatypes as dt
from ibis.backends.base.sql.glot.datatypes import SqlglotType
from ibis.backends.base.sqlglot.datatypes import SqlglotType
from ibis.common.collections import FrozenDict

typecode = sge.DataType.Type
Expand Down
2 changes: 1 addition & 1 deletion ibis/backends/druid/datatypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import ibis.expr.datatypes as dt
from ibis.backends.base.sql.alchemy.datatypes import AlchemyType
from ibis.backends.base.sql.glot.datatypes import DruidType as SqlglotDruidType
from ibis.backends.base.sqlglot.datatypes import DruidType as SqlglotDruidType


class DruidDateTime(sat.TypeDecorator):
Expand Down
2 changes: 1 addition & 1 deletion ibis/backends/duckdb/datatypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import ibis.expr.datatypes as dt
from ibis.backends.base.sql.alchemy.datatypes import AlchemyType
from ibis.backends.base.sql.glot.datatypes import DuckDBType as SqlglotDuckdbType
from ibis.backends.base.sqlglot.datatypes import DuckDBType as SqlglotDuckdbType

_from_duckdb_types = {
psql.BYTEA: dt.Binary,
Expand Down
2 changes: 1 addition & 1 deletion ibis/backends/mysql/datatypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import ibis.expr.datatypes as dt
from ibis.backends.base.sql.alchemy.datatypes import UUID, AlchemyType
from ibis.backends.base.sql.glot.datatypes import MySQLType as SqlglotMySQLType
from ibis.backends.base.sqlglot.datatypes import MySQLType as SqlglotMySQLType


class MySQLDateTime(mysql.DATETIME):
Expand Down
2 changes: 1 addition & 1 deletion ibis/backends/oracle/datatypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import ibis.expr.datatypes as dt
from ibis.backends.base.sql.alchemy.datatypes import AlchemyType
from ibis.backends.base.sql.glot.datatypes import OracleType as SqlglotOracleType
from ibis.backends.base.sqlglot.datatypes import OracleType as SqlglotOracleType


class OracleType(AlchemyType):
Expand Down
2 changes: 1 addition & 1 deletion ibis/backends/postgres/datatypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import ibis.expr.datatypes as dt
from ibis.backends.base.sql.alchemy.datatypes import AlchemyType
from ibis.backends.base.sql.glot.datatypes import PostgresType as SqlglotPostgresType
from ibis.backends.base.sqlglot.datatypes import PostgresType as SqlglotPostgresType

_from_postgres_types = {
psql.DOUBLE_PRECISION: dt.Float64,
Expand Down
2 changes: 1 addition & 1 deletion ibis/backends/snowflake/datatypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

import ibis.expr.datatypes as dt
from ibis.backends.base.sql.alchemy.datatypes import AlchemyType
from ibis.backends.base.sql.glot.datatypes import SnowflakeType as SqlglotSnowflakeType
from ibis.backends.base.sqlglot.datatypes import SnowflakeType as SqlglotSnowflakeType


@compiles(sat.NullType, "snowflake")
Expand Down
2 changes: 1 addition & 1 deletion ibis/backends/sqlite/datatypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

import ibis.expr.datatypes as dt
from ibis.backends.base.sql.alchemy.datatypes import AlchemyType
from ibis.backends.base.sql.glot.datatypes import SQLiteType as SqlglotSQLiteType
from ibis.backends.base.sqlglot.datatypes import SQLiteType as SqlglotSQLiteType


class SqliteType(AlchemyType):
Expand Down
2 changes: 1 addition & 1 deletion ibis/backends/trino/datatypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

import ibis.expr.datatypes as dt
from ibis.backends.base.sql.alchemy.datatypes import AlchemyType
from ibis.backends.base.sql.glot.datatypes import TrinoType as SqlglotTrinoType
from ibis.backends.base.sqlglot.datatypes import TrinoType as SqlglotTrinoType


class ROW(_ROW):
Expand Down

0 comments on commit e17ac89

Please sign in to comment.