asfernandes
725f7878ad
Fix the bug reported by Ivan Prenosil (FB3 - problem with inactive triggers). It was the SortMap::flags not initialized.
2010-03-06 02:13:22 +00:00
asfernandes
0ce6fb958c
Feature CORE-2869 - Window functions: LAG and LEAD.
2010-02-16 00:26:53 +00:00
asfernandes
01f6e290fd
Misc
2010-02-15 00:43:04 +00:00
asfernandes
d3c0e1971a
1) Feature CORE-2830 - Window functions: DENSE_RANK, RANK and ROW_NUMBER
...
2) Fix BLR filter for some procedure verbs
2010-02-14 19:08:22 +00:00
asfernandes
0affd15dc5
Merge OrderedWindowStream into AggregatedStream
2010-02-13 23:55:48 +00:00
asfernandes
c737d6a807
Create ExprNode class hierarchy.
...
Convert CONCATENATE and aggregate functions to it.
Fix some bugs:
- select sum(n) over (order by n2), sum(n) over (), n, n2 from x1;
- select (select 1 from x1 b where list(1, a.n) = 1) from x1 a;
2010-02-13 20:29:29 +00:00
robocop
1d87d749f0
Misc.
2010-01-26 08:20:27 +00:00
asfernandes
b68658534f
Feature CORE-2823 - Support the ORDER BY subclause for current aggregate functions (except LIST)
2010-01-23 03:02:53 +00:00
dimitr
2e1b41114a
Fixed the broken recursive queries.
2010-01-22 08:23:36 +00:00
dimitr
2c3d97fcbe
1) Extended hash joins to handle more than two streams at once.
...
2) Allowed the hash table size to be configurable at runtime.
2010-01-22 07:11:02 +00:00
asfernandes
7fbee2c76b
Feature OVER (PARTITION BY ...) clause for window functions
2010-01-18 21:37:47 +00:00
dimitr
7d7aef4228
Cleanup and refactoring in the optimizer (mostly related to rivers and sort/merge).
2010-01-13 11:46:16 +00:00
asfernandes
5277b99bcf
Misc
2010-01-12 14:21:30 +00:00
dimitr
2874edbf5c
Basic implementation of hash joins (only inner so far).
...
Optimizer support is to follow a bit later.
2010-01-12 11:26:09 +00:00
dimitr
00dc3068fe
Implement the lazy caching mode. Rows are stored in the buffer while fetching forward.
...
The switch to the fully cached mode is performed upon the first positioned access.
2010-01-06 15:40:39 +00:00
alexpeshkoff
bf75fffe70
fixed gcc warnings
2009-12-15 13:55:35 +00:00
dimitr
cccfb555db
Scrollable cursors: work continued.
2009-12-14 12:56:27 +00:00
dimitr
424199b648
Misc.
2009-12-14 09:23:27 +00:00
dimitr
9863e0f953
Misc.
2009-12-13 12:08:02 +00:00
robocop
dae574f7f1
Misc, style and unused vars.
2009-12-13 10:41:53 +00:00
asfernandes
b1de816d6a
Misc
2009-12-12 20:56:12 +00:00
asfernandes
7b8ea84561
Sort maps refactor
2009-12-12 20:36:56 +00:00
asfernandes
008e1bdb59
Remove usage of plain array with count in [0] in the new classes
2009-12-12 19:00:43 +00:00
dimitr
64b4d4040c
Please Claudio and make the flags unique across all RecordSource implementors.
2009-12-12 10:23:14 +00:00
dimitr
308c5e1e89
Forgotten changes from a few prior commits.
2009-12-10 15:27:17 +00:00
asfernandes
01a8a22be5
Misc / Constant for aggregate state
2009-12-10 01:32:47 +00:00
dimitr
11495a55fb
Refactored the whole RSB stuff into classes. They're inside the /recsrc sub-directory now.
...
Fixed the layering for WITH LOCK and (partially) ANY/ALL predicates.
Cleaned up the outdated code that never worked (mapping DISTINCT to an index, some VMS remainings).
Wiped out a lot of the pre-ODS11 optimizer logic. Some minor adjustments there.
Re-implemented the full outer join from scratch. This resolves CORE-2678 (full outer join cannot use available indices).
Resolved CORE-2796: DB_KEY is always zero for external tables.
Implemented the core part of the scrollable PSQL cursors. Implementation is still incomplete, but ready for testing.
Some other changes I don't recall at the moment ;-)
WARNING! The engine may be unstable. Please email me about any issues found.
2009-12-09 18:45:44 +00:00