From 5c7947ce606e1cb5e79bd10ce4222c84068d8409 Mon Sep 17 00:00:00 2001 From: AdRiley Date: Wed, 14 Feb 2024 09:11:52 +0000 Subject: [PATCH] Rename database column to DB_Column (#9046) Rename database column to DB_Column to avoid name collisions as part of https://github.com/enso-org/enso/issues/8981 --- .../builtin/visualization/java_script/sql.js | 5 +- .../visualizations/SQLVisualization.vue | 3 +- .../Redshift/Internal/Redshift_Dialect.enso | 4 +- .../src/Data/{Column.enso => DB_Column.enso} | 196 +++++++++--------- .../Database/0.0.0-dev/src/Data/Dialect.enso | 4 +- .../Database/0.0.0-dev/src/Data/SQL_Type.enso | 2 - .../Database/0.0.0-dev/src/Data/Table.enso | 70 +++---- .../0.0.0-dev/src/Data/Take_Drop_Helpers.enso | 1 - .../0.0.0-dev/src/Internal/Helpers.enso | 6 +- .../Internal/Postgres/Postgres_Dialect.enso | 10 +- .../src/Internal/SQLite/SQLite_Dialect.enso | 6 +- .../Internal/SQLite/SQLite_Type_Mapping.enso | 4 +- .../0.0.0-dev/src/Internal/Table_Helpers.enso | 2 +- .../0.0.0-dev/src/Table/Visualization.enso | 6 +- .../Column_Operations_Spec.enso | 6 +- .../Common_Table_Operations/Nothing_Spec.enso | 2 +- .../src/Database/Postgres_Spec.enso | 4 +- .../Table_Tests/src/Database/SQLite_Spec.enso | 1 - test/Table_Tests/src/Util.enso | 2 +- 19 files changed, 167 insertions(+), 167 deletions(-) rename distribution/lib/Standard/Database/0.0.0-dev/src/Data/{Column.enso => DB_Column.enso} (93%) diff --git a/app/gui/view/graph-editor/src/builtin/visualization/java_script/sql.js b/app/gui/view/graph-editor/src/builtin/visualization/java_script/sql.js index 723512bafc18..7d023ea68a84 100644 --- a/app/gui/view/graph-editor/src/builtin/visualization/java_script/sql.js +++ b/app/gui/view/graph-editor/src/builtin/visualization/java_script/sql.js @@ -81,8 +81,9 @@ loadScript('https://cdnjs.cloudflare.com/ajax/libs/sql-formatter/4.0.2/sql-forma */ class SqlVisualization extends Visualization { // TODO Change the type below once #837 is done: - // 'Standard.Database.Data.Table.Table | Standard.Database.Data.Column.Column' - static inputType = 'Standard.Database.Data.Table.Table | Standard.Database.Data.Column.Column' + // 'Standard.Database.Data.Table.Table | Standard.Database.Data.DB_Column.DB_Column' + static inputType = + 'Standard.Database.Data.Table.Table | Standard.Database.Data.DB_Column.DB_Column' static label = 'SQL Query' constructor(api) { diff --git a/app/gui2/src/components/visualizations/SQLVisualization.vue b/app/gui2/src/components/visualizations/SQLVisualization.vue index f212ab57e087..c0d7a6487b18 100644 --- a/app/gui2/src/components/visualizations/SQLVisualization.vue +++ b/app/gui2/src/components/visualizations/SQLVisualization.vue @@ -1,7 +1,8 @@