Skip to content
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

Asof join support #5

Merged
merged 1 commit into from
Jan 15, 2025
Merged

Asof join support #5

merged 1 commit into from
Jan 15, 2025

Conversation

ea-rus
Copy link
Contributor

@ea-rus ea-rus commented Jan 15, 2025

ASOF join example:

SELECT *
FROM table_1
ASOF JOIN table_2 ON (symbol)

Used in:

Required by https://linear.app/mindsdb/issue/BE-608/asof-join-support

Copy link

Coverage

Coverage Report
FileStmtsMissCoverMissing
mindsdb_sql_parser
   __about__.py10100%1–10
   __init__.py1162281%43, 47, 93, 110, 113, 134–153, 160–161
   lexer.py2652192%346, 348, 350, 362, 364, 366, 372–390
   logger.py19479%14, 17, 23, 26
   parser.py10442897%120, 124, 263, 288, 385, 571, 588, 612–613, 812, 866, 943, 1034, 1087, 1097, 1135–1136, 1165, 1176, 1259, 1325, 1364, 1400, 1902, 1910, 1963–1966
   utils.py46491%73–79
mindsdb_sql_parser/ast
   base.py36878%13, 28, 31, 46, 49–52
   create.py761284%22–30, 91–96
   drop.py52296%10, 13
   insert.py63494%39–41, 46
   show.py48198%18
   update.py53591%40–42, 75–76
mindsdb_sql_parser/ast/mindsdb
   knowledge_base.py46198%79
mindsdb_sql_parser/ast/select
   case.py38295%19, 22
   constant.py36197%23
   data.py11464%10–12, 15, 19
   identifier.py63887%42, 79–84, 91
   native_query.py13192%25
   operation.py139497%56, 65, 177, 201
   parameter.py11191%10
   select.py97397%148–153
   star.py12283%8–9
TOTAL317814895% 

Tests Skipped Failures Errors Time
279 0 💤 0 ❌ 0 🔥 15.445s ⏱️

@ea-rus ea-rus merged commit 005cbfd into main Jan 15, 2025
9 checks passed
@ea-rus ea-rus deleted the asof-join branch January 15, 2025 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant