Rafael Ávila de Espíndola
d301d31de0
cql3: Implement abstract_function_selector::requires_thread
...
Signed-off-by: Rafael Ávila de Espíndola <espindola@scylladb.com >
2020-01-07 22:14:24 -08:00
Pavel Solodovnikov
55a1d46133
cql: some more missing const qualifiers
...
There are several virtual functions in public interfaces named "is_*"
that clearly should be marked as "const", so fix that.
2019-11-26 17:57:51 +03:00
Rafael Ávila de Espíndola
d9337152f3
Use threads when executing user functions
...
This adds a requires_thread predicate to functions and propagates that
up until we get to code that already returns futures.
We can then use the predicate to decide if we need to use
seastar::async.
Signed-off-by: Rafael Ávila de Espíndola <espindola@scylladb.com >
2019-11-07 08:41:08 -08:00
Avi Kivity
cb7ee5c765
cql3: convert sprint() to format()
...
sprint() recently became more strict, throwing on sprint("%s", 5). Replace
with the more modern format().
Mechanically converted with https://github.com/avikivity/unsprint .
2018-11-01 13:16:17 +00:00
Vladimir Krivopalov
fb7d46fc2e
Allow COUNT(*) and COUNT(1) to be queried with other aggregations or columns
...
Fixes #2218
Signed-off-by: Vladimir Krivopalov <vladimir@scylladb.com >
Message-Id: <c387d34969d5bcfb8b2bf42806e6e05a9b8a067c.1511487356.git.vladimir@scylladb.com >
2017-11-24 10:01:21 +00:00
Pekka Enberg
38a54df863
Fix pre-ScyllaDB copyright statements
...
People keep tripping over the old copyrights and copy-pasting them to
new files. Search and replace "Cloudius Systems" with "ScyllaDB".
Message-Id: <1460013664-25966-1-git-send-email-penberg@scylladb.com >
2016-04-08 08:12:47 +03:00
Avi Kivity
d5cf0fb2b1
Add license notices
2015-09-20 10:43:39 +03:00
Avi Kivity
48978fd0b4
cql3: convert *_function_selector to C++
...
Due to cyclic dependencies, three classes are converted at once:
abstract_function_selector
scalar_function_selector
aggregate_function_selector
2015-04-05 16:07:31 +03:00