Skip to content

[Reconcile] Adding Teradata connector #1275

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 459 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
459 commits
Select commit Hold shift + click to select a range
969b00d
Removing quotes from exception message (#416)
ganeshdogiparthi-db May 31, 2024
5117f6a
Presto approx percentile func fix (#411)
ganeshdogiparthi-db May 31, 2024
0e5fb54
Raise exception if reconciliation fails for any table (#412)
bishwajit-db May 31, 2024
6d57216
Added validation for join columns for all query builders and limiting…
ganeshdogiparthi-db May 31, 2024
7c83881
Updated spark version (#421)
vijaypavann-db Jun 3, 2024
c334214
feat: Implement coverage tests for TSQL (#409)
jimidle Jun 3, 2024
9ac86a8
Test merge queue (#424)
nfx Jun 3, 2024
a1b21c5
Reduce builtIn functions to minimum possible use of explicit syntax (…
jimidle Jun 3, 2024
4171283
TSQL: Create coverage tests for TSQL -> Databricks functions (#415)
jimidle Jun 3, 2024
10070bd
Snowflake: improve acceptance coverage by avoiding NPEs (#407)
vil1 Jun 3, 2024
227e935
Add full support for analytical windowing functions (#401)
jimidle Jun 3, 2024
d628677
Adds more coverage tests for functions to TSQL coverage (#420)
jimidle Jun 3, 2024
eac0207
Support function translation to Databricks SQL in TSql and Snowflake …
jimidle Jun 4, 2024
6c771f7
refactor install script (#426)
vijaypavann-db Jun 4, 2024
1fa5d19
Use default_factory in recon_config.py (#431)
derekyidd Jun 5, 2024
affdd32
Changing the secret name acc to install script (#432)
ganeshdogiparthi-db Jun 5, 2024
32c0d6e
Intermediate cache to volumes (#429)
ganeshdogiparthi-db Jun 6, 2024
60850b1
Grammar clean up and keyword expansion (#437)
jimidle Jun 7, 2024
5126eaf
Improve test coverage for TSQL remorph (#439)
jimidle Jun 7, 2024
d2e7b36
Snowflake: Improve translation of FROM clauses (#442)
vil1 Jun 7, 2024
5cee796
TSQL: Implement functions with specialized syntax (#430)
jimidle Jun 7, 2024
596a140
TSQL: Implement WITH CTE (#443)
jimidle Jun 7, 2024
ec3f0ba
[Snowflake] add missing function definitions (#433)
vil1 Jun 7, 2024
3eadc48
Lose superflous alt in selectListElem (#445)
jimidle Jun 7, 2024
0783f10
Integrate recon metadata reconcile cli (#444)
vijaypavann-db Jun 8, 2024
7c301df
Feature/recon documentation (#395)
ravit-db Jun 9, 2024
2dd476a
Snowflake: Implement SAMPLE clause (#446)
vil1 Jun 10, 2024
1ac37fb
Snowflake: consider DUMMY as not a keyword (#447)
vil1 Jun 10, 2024
5153bb8
Snowflake:: Snowflake grammar clean up (#449)
jimidle Jun 11, 2024
1159ff7
TSQL: Expand SELECT statement (#448)
jimidle Jun 11, 2024
97a5404
Add TSQL coverage tests in the generated report artifact (#452)
vil1 Jun 11, 2024
bb50ebb
Better coverage reports (#456)
vil1 Jun 12, 2024
b6255e0
TSQL: Update the SELECT statement to support XML workspaces (#451)
jimidle Jun 12, 2024
98d95eb
TSQL: Improve function coverage (#455)
jimidle Jun 12, 2024
c3dc0ea
Fixing issues in sample query builder to handle Null's and zero (#457)
ganeshdogiparthi-db Jun 12, 2024
dda242a
Snowflake: improve id definition and related implementations (#459)
vil1 Jun 12, 2024
e4c8238
Added parsing for STRPOS in presto (#462)
ganeshdogiparthi-db Jun 13, 2024
4791269
Add lexer tests for TSql and Snowflake lexers (#460)
jimidle Jun 13, 2024
75ac7fb
Remove USE catalog/schema statement as lsql has added the feature. (#…
bishwajit-db Jun 13, 2024
017cfc6
fix: Change order of sercrh for "" in quoted lexer rule. (#467)
jimidle Jun 13, 2024
96d3ed5
Sampling with clause query to have `from dual` in from clause for or…
ganeshdogiparthi-db Jun 14, 2024
e622140
Upgrade sqlglot from 23.13.7 to 25.1.0 (#473)
ganeshdogiparthi-db Jun 19, 2024
191fd55
Add Oracle ojdbc8 dependent library during reconcile Installation (#474)
vijaypavann-db Jun 19, 2024
8d02a70
Update uninstall flow (#476)
vijaypavann-db Jun 20, 2024
38a95ae
Simplify the lexers and parsers by removing all unnecessary lexer tok…
jimidle Jun 20, 2024
1b21603
Added Databricks as source benchmarks (#480)
ganeshdogiparthi-db Jun 21, 2024
8e67572
Adding default transformations to join columns in hash query (#479)
ganeshdogiparthi-db Jun 21, 2024
7d79917
Improve id definition and translations (#471)
vil1 Jun 21, 2024
ae1a691
feat: Implement syntax for windowing functions over clause (#475)
jimidle Jun 21, 2024
e43723d
Add more coverage for TSQL (#482)
jimidle Jun 24, 2024
4ffc380
Clean up grammar format, remove some redundant labels (#481)
jimidle Jun 24, 2024
fab4e12
Improve Snowflake coverage test success rate (#485)
vil1 Jun 24, 2024
6d7afa0
feat: Implement freetext function visitor, simplify grammar (#487)
jimidle Jun 25, 2024
2ba97fe
Added benchmark's for snowflake as source (#491)
ganeshdogiparthi-db Jun 26, 2024
89613db
Updated the documentation with json config examples (#486)
ravit-db Jun 26, 2024
26ec41a
Catalog, Schema Permission checks (#492)
vijaypavann-db Jun 26, 2024
ebebd9f
Updates to developer documentation and add grammar formatting to mave…
jimidle Jun 26, 2024
b682133
Snowflake, improve coverage test success rate (#489)
vil1 Jun 26, 2024
5a6e6c7
Snowflake: pull conversion functions out of cast expressions (#494)
vil1 Jun 26, 2024
951638b
edit distance (#501)
sundarshankar89 Jun 28, 2024
2e75209
Release v0.3.0 (#510)
nfx Jul 1, 2024
39c5382
Finish translation of Snowflake literals (including JSON) (#502)
vil1 Jul 1, 2024
cf43f37
Support translation of TSQL INGORE NULLS clause in windowing function…
jimidle Jul 2, 2024
6cc6e60
TSQL: Implement remaining join pivot and apply operations (#506)
jimidle Jul 2, 2024
f5836cf
Implement TSQL FOR and OPTION clauses as part of SELECT and other sta…
jimidle Jul 2, 2024
9f86353
TSQL: Implement TOP, FETCH and OFFSET clauses for TSQL SELECT (#499)
jimidle Jul 2, 2024
04ea490
TSQL: Finish all variants of expressions (#505)
jimidle Jul 2, 2024
0cefe67
TSQL: Remove more unnecessary lexer tokens, simplify grammar (#513)
jimidle Jul 2, 2024
96fb098
TSQL: Remove redundant tokens from TSQL lexer (#514)
jimidle Jul 2, 2024
2632da7
Snowflake: add support for JSON path expressions (#519)
vil1 Jul 2, 2024
d388eb5
Added propagation of Remorph version to `User-Agent` header (#521)
nfx Jul 2, 2024
a53e03b
Fix invalid null constraint and FQN (#517)
bishwajit-db Jul 3, 2024
c5347c5
patch top test case (#522)
sundarshankar89 Jul 4, 2024
464d9c7
Fix LEFT and RIGHT JOIN syntax in Snowflake ANTLR grammar (#526)
jimidle Jul 4, 2024
6aef33f
Snowflake driver and user transformation to partition & join col (#488)
ganeshdogiparthi-db Jul 8, 2024
65aef2b
Use Oracle library only if the recon source is Oracle (#532)
bishwajit-db Jul 8, 2024
cd771d4
TSQL: Simplifies named table tableSource, implements columnAlias list…
jimidle Jul 8, 2024
12a2e9a
TSQL: Support generic FOR options (#525)
jimidle Jul 8, 2024
2cde580
Snowflake: add support for named arguments (#527)
vil1 Jul 8, 2024
440fd48
Add support for Snowflake's date and time literals (#536)
vil1 Jul 8, 2024
3df786c
Updated Dialect Variable Name (#535)
vijaypavann-db Jul 9, 2024
75de39a
TSQL: Implement translation of INSERT statement (#515)
jimidle Jul 9, 2024
bcfcb34
Implement a new error strategy for simplifying error messages (#529)
jimidle Jul 9, 2024
5bc9745
Fixed Snowflake Acceptance Testcases Failures (#531)
vijaypavann-db Jul 9, 2024
884dd5a
Add support for Snowflake LATERAL views and table functions (#533)
vil1 Jul 9, 2024
cb4edd2
Fixing remote spark issue (#543)
ganeshdogiparthi-db Jul 10, 2024
cd0336b
Added the missing info for the reconciliation documentation (#520)
ravit-db Jul 10, 2024
52ed84c
Snowflake: last mile to "full coverage" (#544)
vil1 Jul 11, 2024
77f2e25
TSQL: Remove the SIGN fragment from numerical tokens (#547)
vil1 Jul 16, 2024
521c11c
Implement translation of Snowflake INSERT command (#551)
vil1 Jul 16, 2024
47ebdca
Added new visualisations for dashboard for failed tables (#539)
ganeshdogiparthi-db Jul 16, 2024
b04e175
remorph metrics logging for usage for experimental functions (#549)
ganeshdogiparthi-db Jul 16, 2024
a2e9d40
Feature/reconcile table mismatch threshold (#550)
ganeshdogiparthi-db Jul 16, 2024
a2b51f6
[internal] fix `sqlglot-latest` query coverage environment (#557)
nfx Jul 17, 2024
5b18af2
Bump sqlglot from 25.1.0 to 25.5.1 (#534)
dependabot[bot] Jul 17, 2024
f4822c2
Bump sigstore/gh-action-sigstore-python from 2.1.1 to 3.0.0 (#555)
dependabot[bot] Jul 17, 2024
8c2ff51
Snowflake: implement translation of DELETE statements to IR (#553)
vil1 Jul 17, 2024
628e431
Snowflake implement translation of UPDATE command (#560)
vil1 Jul 18, 2024
2705ee7
Add snowflake coverage tests run to Makefile (#558)
vil1 Jul 18, 2024
0ad4e4c
Improve remorph-core coverage report, add a dry-run github workflow (…
vil1 Jul 19, 2024
4baa914
Changes in Final reconcile output for column category (#559)
ganeshdogiparthi-db Jul 19, 2024
c42e310
Transpile Presto `cast as JSON` to `cast as String` (#477)
ganeshdogiparthi-db Jul 19, 2024
470d3b8
Fixed presto test case after sqlglot bump (#641)
ganeshdogiparthi-db Jul 22, 2024
a4851aa
Define (almost all) the remaining Snowflake functions (#703)
vil1 Jul 23, 2024
e8906de
Documentation Reformat (#702)
sundarshankar89 Jul 23, 2024
61552a7
Bump sqlglot from 25.5.1 to 25.6.1 (#585)
dependabot[bot] Jul 23, 2024
7b18a32
[internal] Port subset of Apache Spark's Catalyst into remorph-core I…
nfx Jul 23, 2024
e90eecf
[chore] Make singletons for the relevant `DataType` instances (#705)
nfx Jul 23, 2024
ec13a9e
[SQL Generator] Generate SQL code for literals (#706)
nfx Jul 24, 2024
b7caf76
Modified dataclass for table threshold and added documentation (#714)
ganeshdogiparthi-db Jul 25, 2024
d78b97b
Support CTAS in TSQL Grammar and add more comparison operators. (#545)
bishwajit-db Jul 25, 2024
0a7c60b
TSQL: Implement TSQL UPDATE/DELETE statements (#540)
jimidle Jul 25, 2024
a3ac7a7
Refactor installation with Applicationcontext (#509)
bishwajit-db Jul 25, 2024
9e8fb29
Add TSQL coverage tests (#718)
vil1 Jul 25, 2024
3f184a6
[IR] Create concrete function nodes (#709)
nfx Jul 26, 2024
af3e153
Generate date and timestamp literals as separate methods (#722)
nfx Jul 26, 2024
e37b942
Generate predicate expressions
nfx Jul 26, 2024
1a94156
Merge remote-tracking branch 'origin/main'
nfx Jul 26, 2024
81f8bcd
..
nfx Jul 26, 2024
20e9cf8
Generate `.. LIKE ..` (#723)
nfx Jul 26, 2024
7c78d71
[chore] fixed children propagation for DML nodes (#724)
nfx Jul 26, 2024
1649bc6
[chore] cleanup IR nodes (#725)
nfx Jul 26, 2024
61f0f55
Generate SQL for bitwise operators
nfx Jul 26, 2024
fd9a872
Generate SQL for arithmetic operators (#726)
nfx Jul 26, 2024
a013e9d
Fixes around coverage tests (#720)
vil1 Jul 26, 2024
8ed8878
[chore] move some of snowflake queries to their logical places (#728)
nfx Jul 26, 2024
ad060e6
[chore] move some of snowflake queries to their logical places (#729)
nfx Jul 26, 2024
07624b8
[chore] fix coverage tests input dir parent (#730)
nfx Jul 26, 2024
6328f49
Feature: introduce core transpiler (#715)
vil1 Jul 26, 2024
13bf46b
Generate `UNION` / `EXCEPT` / `INTERSECT` (#731)
nfx Jul 28, 2024
5c98963
Generate `LIMIT` (#732)
nfx Jul 28, 2024
e17e64b
Fixed `SELECT TOP X PERCENT` IR translation for TSQL (#733)
nfx Jul 28, 2024
e682158
Added TSql transpiler (#734)
nfx Jul 28, 2024
a02fbe4
Fixed TSQL transpiler (#735)
nfx Jul 28, 2024
616ea26
Generate `OFFSET` SQL clauses (#736)
nfx Jul 28, 2024
60f1d7c
Generate `ORDER BY` SQL clauses (#737)
nfx Jul 28, 2024
981fb99
Generate `VALUES` SQL clauses (#738)
nfx Jul 28, 2024
a021bae
Generate `DISTINCT`, `*` (#739)
vil1 Jul 29, 2024
668de94
Codegen: omit the FROM clause when the child of a Project is NoTable …
vil1 Jul 30, 2024
cb9cbb6
Release v0.4.0 (#746)
nfx Jul 30, 2024
f85e0f1
Snowflake: introduce a specific call mapper (#742)
vil1 Jul 31, 2024
c25655c
Introduce a SnowflakeTranspilerTest (#750)
vil1 Jul 31, 2024
24e7d49
Generate GROUP BY / PIVOT (#747)
vil1 Jul 31, 2024
1663d47
TSQL: IR implementation of MERGE (#719)
jimidle Jul 31, 2024
de431bc
Aggregate Queries Reconciliation (#740)
vijaypavann-db Aug 2, 2024
9a809fb
Generate CAST (and datatypes) (#751)
vil1 Aug 2, 2024
6b2f237
TSQL: Adds tests and support for SELECT OPTION(...) generation (#755)
jimidle Aug 2, 2024
6205f4c
Incremental improvement to error messages - article selection (#711)
jimidle Aug 2, 2024
09ddb10
Implement error strategy for Snowflake parsing and use error strategy…
jimidle Aug 2, 2024
4b6445e
Release v0.4.1 (#763)
nfx Aug 2, 2024
fed469e
Add `LET` and `DECLARE` statements parsing in Snowflake PL/SQL proced…
sundarshankar89 Aug 2, 2024
94a3690
Improve TSQL and Snowflake parser and lexer (#757)
jimidle Aug 2, 2024
24a1e29
Implement TSQL specific function call mapper (#765)
jimidle Aug 2, 2024
4024c31
Patch Information Schema Predicate Pushdown for Snowflake (#764)
sundarshankar89 Aug 2, 2024
157e33e
Bump sqlglot from 25.6.1 to 25.8.1 (#749)
dependabot[bot] Aug 2, 2024
07d961a
Generate CTEDefinition (#752)
vil1 Aug 12, 2024
ce8b120
Aggregates Reconcile CLI Implementation (#770)
vijaypavann-db Aug 12, 2024
e377a3f
Generate `CASE ... WHEN ... ELSE` clauses (#773)
vil1 Aug 12, 2024
1533415
Added logger statements in get_schema function (#756)
vijaypavann-db Aug 12, 2024
cab0bf2
Aggregates Reconcile documentation (#779)
vijaypavann-db Aug 12, 2024
4ad7a52
Generate IN (#754)
vil1 Aug 12, 2024
21b5657
Generate table alias (#774)
vil1 Aug 12, 2024
01ae6df
Generate Deduplicate (#780)
vil1 Aug 12, 2024
8c55bd5
TSQL: Improve transpilation coverage (#766)
jimidle Aug 12, 2024
6a99806
[internal] run Scala and ANTLR formatters in separate Maven profile (…
nfx Aug 12, 2024
a01a719
Corrections to Snowflake grammar for explicit precedence (#786)
jimidle Aug 12, 2024
bd18476
Improve correctness of snowflake transpilation by improving Snowflake…
vil1 Aug 13, 2024
645e4ab
Make non-standard default for Snowflake rank-related functions' windo…
vil1 Aug 13, 2024
8adc44e
TSQL: Implement grammar for CREATE DATABASE and CREATE DATABASE SCOPE…
jimidle Aug 13, 2024
d8d4b75
TSQL: Implement correct grammar for CREATE TABLE in all forms (#796)
jimidle Aug 13, 2024
48d8e92
Update developer documentation to provide extra ANTLR instructions (#…
jimidle Aug 13, 2024
743c643
Generate window functions (#772)
vil1 Aug 14, 2024
9d33a24
Fix CI coverage tests configuration (#798)
vil1 Aug 14, 2024
4a81860
Implement ANTLR4 grammar customized linter (#797)
jimidle Aug 15, 2024
061122b
Aggregates Reconcile Dashboard updates (#799)
vijaypavann-db Aug 15, 2024
dc8c596
Adding verification dataset (#800)
aman-db Aug 15, 2024
6f0987e
TSQL: Resolve orphaned grammar rules / grammar cleanup (#802)
jimidle Aug 16, 2024
e0cd57e
Snowflake: Remove redundant grammar rules for a clean lint (#804)
jimidle Aug 16, 2024
538b412
Greatly improve grammar for CREATE/ALTER (#805)
jimidle Aug 16, 2024
4968c61
[internal] run queries over real backends (#727)
nfx Aug 16, 2024
0cb54c4
[chore] fixed invalid SQL line (#806)
nfx Aug 16, 2024
bd033a2
Fix parsing of Snowflake LIKE expressions and generate SQL for them. …
vil1 Aug 19, 2024
e01e5c7
Fix translation of Snowflake's join types (#808)
vil1 Aug 19, 2024
060a0c3
[internal] Remove recursive dependency between logical plan and expre…
nfx Aug 19, 2024
ae9cf34
[snowflake] fix data type mapping and explain `UnparsedType` (#810)
nfx Aug 19, 2024
dc63fbf
[internal] always format transpiled queries (#814)
nfx Aug 19, 2024
52b2518
[internal] remove dead code (#815)
nfx Aug 19, 2024
38f0313
[internal] better errors for call mapper (#816)
nfx Aug 19, 2024
1f82e1c
TSQL: Bring coverage back to previous levels (#813)
jimidle Aug 20, 2024
fc76784
Sql formatter Patch (#819)
sundarshankar89 Aug 20, 2024
35cb8ce
[chore] cleanup snowflake functional tests (#821)
nfx Aug 20, 2024
0ba2bba
[snowflake] `UPDATE` as `MERGE INTO` (#817)
nfx Aug 20, 2024
b05807f
[sql] generate `INSERT INTO ...` (#823)
nfx Aug 20, 2024
ce7e483
[sql] generate `DELETE FROM ...` (#824)
nfx Aug 20, 2024
a989e00
[snowflake] map more functions to Databricks SQL (#826)
nfx Aug 20, 2024
b2dc8a9
[chore] increase coverage by 8% (#827)
nfx Aug 20, 2024
e62244f
Improve coverage by properly handling Snowflake's date/time related f…
vil1 Aug 21, 2024
ed38f01
Aggregates Reconcile Updates (#784)
vijaypavann-db Aug 21, 2024
b08f628
[sql] generate basic `CREATE TABLE` definition (#829)
nfx Aug 21, 2024
19d25c6
[sql] generate basic `TABLESAMPLE` (#830)
nfx Aug 21, 2024
2c98cd8
[snowflake] cleanup functional tests (#831)
nfx Aug 21, 2024
18b6f8d
[snowflake] more cleanup of functional tests (#834)
nfx Aug 21, 2024
a2a15b2
[sql] generate basic JSON access (#835)
nfx Aug 21, 2024
cf17f47
[chore] make expr generator tests more maintainable (#837)
nfx Aug 21, 2024
bdaa7ee
TSQL: Improve parser and lexer parsing level coverage ready for CREAT…
jimidle Aug 21, 2024
c333275
Improve coverage test success rate around snowflake's conversion func…
vil1 Aug 22, 2024
4779576
[chore] concrete implementation of Literal (#839)
nfx Aug 22, 2024
2ed4c03
[chore] speedup build process by not running unit tests twice (#842)
nfx Aug 22, 2024
9782fb3
[internal] added JVM command proxy in development mode (#843)
nfx Aug 22, 2024
1802a2e
Changing String data type to Varchar for validation dataset (#845)
aman-db Aug 23, 2024
8888a6a
Handling window frame of rank-related functions in snowflake (#833)
ganeshdogiparthi-db Aug 23, 2024
96c6764
Added Translation Support for `!` as `commands` and `&` for `Paramete…
sriram251-code Aug 23, 2024
ea60dbb
Add an optimizer rule for SF's WITHIN GROUP clause (#844)
vil1 Aug 23, 2024
6f4ab46
[chore] ensure `Alias(Expression, Id)` shape (#847)
nfx Aug 23, 2024
05d65c3
Release v0.5.0 (#849)
nfx Aug 23, 2024
573f905
Added support for `STRUCT` types and conversions (#852)
nfx Aug 23, 2024
8ccbfb8
[internal] added query plan debugger and dependency injection baselin…
nfx Aug 23, 2024
d4f90fc
Fix CommentBasedQueryExtractor so that it works as intended even when…
vil1 Aug 26, 2024
6de49da
Improve coverage around snowflake functions (#860)
vil1 Aug 28, 2024
031d31b
Reconcile Documentation updates (#862)
vijaypavann-db Aug 28, 2024
1ab2645
extra ";" generation has been taken care for Bang command (#858)
sriram251-code Aug 29, 2024
cdcb761
[snowflake] parse parameters (#855)
nfx Aug 29, 2024
e42c0c3
Added support for `ALTER TABLE`: `ADD COLUMNS`, `DROP COLUMNS`, `RENA…
sundarshankar89 Aug 29, 2024
acd70b5
Reconcile Table Recon JSON filename updates (#866)
vijaypavann-db Aug 29, 2024
f18b459
Minor upgrades to Snowflake parameter processing (#871)
jimidle Aug 30, 2024
287822e
Miscellaneous Snowflake coverage fixes (#872)
vil1 Aug 30, 2024
cb217c0
Added query history retrieval from Snowflake (#874)
nfx Aug 30, 2024
8402a18
[snowflake] initial support for lateral views (#838)
nfx Aug 30, 2024
6794006
Add basis of ANTLR utilities, starting with text extractor (#882)
jimidle Sep 4, 2024
1de7ede
Updated Spark setup script (#875)
vijaypavann-db Sep 6, 2024
c6f780a
unresolved commands `alter session | stream...` `create stream` `crea…
sundarshankar89 Sep 6, 2024
a9ec557
Fix Query Generation IR for Select Distinct (#887)
sundarshankar89 Sep 6, 2024
87dd64c
Initial Teradata files
srikanth-db Sep 12, 2024
3fa77b5
fixng compile errors
srikanth-db Sep 18, 2024
af5e1bf
fixng schema related errors
srikanth-db Sep 19, 2024
4f3060e
fixng schema related errors
srikanth-db Sep 19, 2024
aa5078e
Adding working code
srikanth-db Sep 29, 2024
7dccd38
latest code for Teradata
srikanth-db Oct 9, 2024
57b626f
Added logic for decimal
wajdi-db Oct 21, 2024
07e4082
Removing DB details
srikanth-db Oct 31, 2024
1f7702c
Various fixes for Teradata support
wajdi-db Nov 22, 2024
e969207
Change join hash column keys
wajdi-db Nov 29, 2024
1f59bb1
Add percentages to dashboard
wajdi-db Dec 5, 2024
13d4531
Troubleshooting steps
wajdi-db Dec 5, 2024
fc225e3
Troubleshooting
wajdi-db Dec 5, 2024
9997a16
WIP support for custom Parser
wajdi-db Dec 5, 2024
b4ded99
Various changes
wajdi-db Dec 12, 2024
9c19b48
Remove prints
wajdi-db Dec 12, 2024
8af8e60
Update gitignore
wajdi-db Dec 12, 2024
3ff4a48
Merge branch 'feature/support-translate'
wajdi-db Dec 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 10 additions & 0 deletions .codegen.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"version": {
"src/databricks/labs/remorph/__about__.py": "__version__ = \"$VERSION\""
},
"toolchain": {
"required": ["hatch"],
"pre_setup": ["hatch env create"],
"prepend_path": ".venv/bin"
}
}
92 changes: 92 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
# See https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-issue-forms
# and https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema
name: Bug Report
description: Something is not working in Remorph
title: "[BUG]: "
labels: ["bug", "needs-triage"]
# assignees:
# - remorph-write
body:
- type: checkboxes
attributes:
label: Is there an existing issue for this?
description: Please search to see if an issue already exists for the bug you encountered.
options:
- label: I have searched the existing issues
required: true
- type: dropdown
id: category
attributes:
label: Category of Bug / Issue
description: Please select the category that best describes the bug / issue you are reporting.
options:
- TranspileParserError
- TranspileValidationError
- TranspileLateralColumnAliasError
- ReconcileError
- Other
validations:
required: true
- type: textarea
attributes:
label: Current Behavior
description: |
A concise description of what you're experiencing.
**Do not paste links to attachments with logs and/or images, as all issues with attachments will get deleted.**
Use the `Relevant log output` field to paste redacted log output without personal identifying information (PII).
You can Ctrl/Cmd+V the screenshot, which would appear as a rendered image if it doesn't contain any PII.
validations:
required: false
- type: textarea
attributes:
label: Expected Behavior
description: A concise description of what you expected to happen.
validations:
required: false
- type: textarea
attributes:
label: Steps To Reproduce
description: Steps to reproduce the behavior.
placeholder: |
1. In this environment...
1. With this config...
1. Run '...'
1. See error...
validations:
required: false
- type: textarea
id: logs
attributes:
label: Relevant log output or Exception details
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
render: shell
- type: textarea
id: query
attributes:
label: Sample Query
description: Please copy and paste anonymized Query. This will be automatically formatted into code, so no need for backticks.
render: shell
- type: dropdown
id: os
attributes:
label: Operating System
description: Which operating system do you have Remorph installed on?
options:
- macOS
- Linux
- Windows
validations:
required: true
- type: dropdown
id: version
attributes:
label: Version
description: What version of our software are you running?
options:
- latest via Databricks CLI
- v0.1.5
- v0.1.4
- other
default: 0
validations:
required: true
9 changes: 9 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
blank_issues_enabled: false
contact_links:
- name: General Databricks questions
url: https://help.databricks.com/
about: Issues related to Databricks and not related to Remorph

- name: Remorph Documentation
url: https://github.com/databrickslabs/remorph/tree/main/docs
about: Documentation about Remorph
45 changes: 45 additions & 0 deletions .github/ISSUE_TEMPLATE/feature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# See https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-issue-forms
# and https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema
name: Feature Request
description: Something new needs to happen with Remorph
title: "[FEATURE]: "
labels: ["enhancement", "needs-triage"]
# assignees:
# - remorph-write
body:
- type: checkboxes
attributes:
label: Is there an existing issue for this?
description: Please search to see if an issue already exists for the feature request you're willing to submit
options:
- label: I have searched the existing issues
required: true
- type: dropdown
id: category
attributes:
label: Category of feature request
description: Please select the category that best describes the feature you are requesting for.
options:
- Transpile
- Reconcile
- Other
validations:
required: true
- type: textarea
attributes:
label: Problem statement
description: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
validations:
required: true
- type: textarea
attributes:
label: Proposed Solution
description: A clear and concise description of what you want to happen.
validations:
required: true
- type: textarea
attributes:
label: Additional Context
description: Add any other context, references or screenshots about the feature request here.
validations:
required: false
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
version: 2
updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
48 changes: 48 additions & 0 deletions .github/scripts/setup_spark_remote.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
#!/usr/bin/env bash

set -xve

mkdir -p "$HOME"/spark
cd "$HOME"/spark || exit 1

version=$(wget -O - https://dlcdn.apache.org/spark/ | grep 'href="spark' | grep -v 'preview' | sed 's:</a>:\n:g' | sed -n 's/.*>//p' | tr -d spark- | tr -d / | sort -r --version-sort | head -1)
if [ -z "$version" ]; then
echo "Failed to extract Spark version"
exit 1
fi

spark=spark-${version}-bin-hadoop3
spark_connect="spark-connect_2.12"

mkdir -p "${spark}"


SERVER_SCRIPT=$HOME/spark/${spark}/sbin/start-connect-server.sh

## check the spark version already exist ,if not download the respective version
if [ -f "${SERVER_SCRIPT}" ];then
echo "Spark Version already exists"
else
if [ -f "${spark}.tgz" ];then
echo "${spark}.tgz already exists"
else
wget "https://dlcdn.apache.org/spark/spark-${version}/${spark}.tgz"
fi
tar -xvf "${spark}.tgz"
fi

cd "${spark}" || exit 1
## check spark remote is running,if not start the spark remote
result=$(${SERVER_SCRIPT} --packages org.apache.spark:${spark_connect}:"${version}" > "$HOME"/spark/log.out; echo $?)

if [ "$result" -ne 0 ]; then
count=$(tail "${HOME}"/spark/log.out | grep -c "SparkConnectServer running as process")
if [ "${count}" == "0" ]; then
echo "Failed to start the server"
exit 1
fi
#sleep time to start the server
sleep 120
echo "Server Already Running"
fi
echo "Started the Server"
Loading