-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added faster alternative to InVirtualSet() (backport #874) [release/4…
….11.x] (#987) * Added faster alternative to InVirtualSet() (#874) * commit for new added test * commit 2 * update * Fixed all the issues related to filtering of data in Virtual Table * Binder Type enhancement * trying to fix BestIndex * Fixed the single column issue in VT * Performance Tests Added * ValueExp_Issue_Id_Change due to conflicts while merging with main * Added flag for binder info to check whether the binder is for a parameter inside InVirtualSet() or IdSet()....useful for BindIdSet() * Tests Added * Crash for following expression stopped by providing null checks SELECT x FROM (with cte(x) as(select ECInstanceId from meta.ECClassDef) select x from cte), test.IdSet('[1,2,3,4,5]') where id = x group by x * Kepping concurrentQueryImpl as close to as it was with minimal changes * schema name changed to ECVLib and also file name changed * cleanup * more cleanup * Performanvce Tests Updated * some comments resolved * Comments regarding constant name of IdSet table resolved * binderInfo refactoring * added flag to call _onbeforefirststep() once in PragmaECSQLStatement and renamed _OnBeforeStep() to _ONBeforeFirstStep() * changes as per suggestions by Affan * Performance test updated * Tests updated to prevent failure in pipeline * tests updated * update in logic in IModelJsNative.cpp and concurrentquery * performance tests indentation updated * final update * OnBeforeFirstStep() logic updated by using m_isFirstStep flag * More Tests added * Added flag checking to m_isFirstStep flag so that when actually flag is false we reset it to true and vice versa * removing m_isFirstStep and identifying first step using statement state * Comment updated * Fixed the issue with the query SELECT e.i FROM aps.TestElement e INNER JOIN ECVLib.IdSet(?) v ON e.ECInstanceId = v.id * More tests added * More Performance Tests added * indentation issue solved * Update in logic to get statement state * Changelog updated * comments updated * Using EqualsI instead of EqualsIAscii * Comments resolved and tests added * Made IdSet experimental feature --------- Co-authored-by: affank <[email protected]> (cherry picked from commit 001246a) # Conflicts: # iModelJsNodeAddon/api_package/ts/package-lock.json * manually update package-lock.json --------- Co-authored-by: Soham Bhattacharjee <[email protected]>
- Loading branch information
1 parent
6ec281a
commit 9878f37
Showing
44 changed files
with
2,188 additions
and
204 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.