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

Planner improvements #334

Merged
merged 14 commits into from
Jan 9, 2024
Merged

Planner improvements #334

merged 14 commits into from
Jan 9, 2024

Conversation

ea-rus
Copy link
Contributor

@ea-rus ea-rus commented Dec 14, 2023

Changes:

Copy link

github-actions bot commented Dec 14, 2023

Coverage

Coverage Report
FileStmtsMissCoverMissing
mindsdb_sql
   __about__.py10100%1–10
   __init__.py24196%21
mindsdb_sql/parser
   lexer.py166199%244
   logger.py19479%14, 17, 23, 26
   parser.py4562395%92, 121–128, 182, 199, 249, 253, 317, 346–347, 367, 378, 491, 526, 557, 567, 581, 657
   utils.py46491%73–79
mindsdb_sql/parser/ast
   base.py36781%13, 28, 31, 49–52
   create.py601673%7–8, 49–54, 73–85
   drop.py52296%10, 13
   insert.py62592%32, 35–37, 42
   show.py48198%18
   update.py53591%40–42, 75–76
mindsdb_sql/parser/ast/select
   case.py26292%19, 22
   constant.py42198%21
   data.py11282%15, 19
   identifier.py64789%43, 80–85
   native_query.py13192%24
   operation.py113695%27–30, 56, 65, 166
   parameter.py11191%10
   select.py97397%148–153
   star.py12283%8–9
   union.py23196%18
mindsdb_sql/parser/dialects/mindsdb
   create_file.py19195%14
   create_predictor.py88199%54
   knowledge_base.py40198%71
   parser.py9062797%118, 122, 251, 275, 285, 347, 349, 441, 453, 585, 602, 626–627, 753, 803, 852, 869, 1003, 1013, 1051–1052, 1077, 1088, 1228, 1232, 1285, 1689
mindsdb_sql/parser/dialects/mysql
   lexer.py23674%16, 18, 20, 32, 34, 36
   parser.py6112396%116, 118, 210, 222, 341, 358, 408, 412, 486, 496, 534–535, 555, 566, 695, 723, 728–730, 734, 751, 895, 1041
   show_index.py171135%10–12, 15–23, 26–27
mindsdb_sql/planner
   plan_join.py2541196%136, 172, 181, 208, 212, 301, 349, 367, 376, 404, 406
   plan_join_ts.py1791094%53, 60, 83–84, 129, 181, 185, 193, 265, 332
   query_plan.py22864%13–21, 30
   query_planner.py3846384%41–42, 65–66, 75, 152, 177, 381, 409–487, 530–531, 536, 562, 624, 654, 680, 705–707
   query_prepare.py2846179%76, 78, 86–116, 227, 249, 272, 315, 336, 360, 389–443, 446–452, 483, 496–498, 507, 526
   step_result.py14286%7, 12
   steps.py1742287%14, 19, 27, 32–34, 55–60, 67–73, 110–115
   ts_utils.py66691%59, 61, 81–84, 88
   utils.py2414183%60, 106, 112, 127, 139, 151, 154, 166, 196, 209, 224, 230, 235, 242, 244, 249, 254–257, 262, 267, 273, 279, 282–293, 307, 337–338, 349–350, 365
mindsdb_sql/render
   sqlalchemy_render.py3807281%38, 72, 74, 86, 91, 163–164, 177–178, 202, 232, 234, 263, 275, 281, 332, 395–406, 417–421, 451, 466, 471–481, 490–491, 515–526, 545, 568–592, 603–604, 609–610, 621–624, 644–647
TOTAL614147192% 

Tests Skipped Failures Errors Time
667 1 💤 0 ❌ 0 🔥 16.211s ⏱️

@ea-rus ea-rus requested a review from StpMax January 9, 2024 11:35
@ea-rus ea-rus merged commit 14f6091 into staging Jan 9, 2024
10 checks passed
@ea-rus ea-rus mentioned this pull request Jan 9, 2024
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.

Union 3 and more tables Planner for api database: additional proccesing query
2 participants