Mahesh Arumugam
858f889745
FeatureBase Renaming: changing go.mod module name for featurebase
2021-07-19 09:20:30 -07:00
Mahesh Arumugam
357caf68c3
Fix percentile query: field is mandatory (should not crash), fieldnames can be unquoted
2021-06-24 15:10:05 -07:00
nagamocha3000
b1d18a1ba3
Make percentile checker in test-case match executor implementation
2021-06-03 22:14:05 +03:00
nagamocha3000
af83205032
Fix percentile overflow error
2021-06-02 21:28:07 +03:00
Nia Weiss
a8f7ec4a12
execute like queries on the primary's key translation database
...
This works around an issue where unreplicated keys will not be matched everywhere.
This also avoids the cost of creating millions of bolt read transactions and allocating strings.
2021-05-27 14:45:10 -04:00
Nia Weiss
a72f6425af
add an option to open a postgres transaction in lookup so it isnt actually a lookup
2021-05-26 14:07:52 -04:00
Todd Gruben
b25ad81e67
restore without restart
2021-05-21 09:27:08 -05:00
Seebs
1c7a6da37b
write operations can cause deadlocks in GetTx
...
The GetTx logic is deeply broken, this DOES NOT fix the underlying
bug.
When any call anywhere in a given set of calls has a top-level write,
we perform all transactions as write transactions, and we do not cache or
share those transactions. This means that anything which causes a
second GetTx for the same index/shard deadlocks against itself.
The two easy to find cases by casual inspection are time quantums
and Not queries, so this addresses those, but this should NOT be
considered a general fix.
2021-05-20 16:41:38 -05:00
Maxton Huff
d9d360aa4d
Merge branch 'master' into longmessage
2021-05-20 10:17:04 -05:00
Maxton Huff
e646d7ac79
wrap mapper error with shards by node
2021-05-20 09:55:42 -05:00
Maxton Huff
04bf214f81
remove shard list from mapper error message to avoid duplicate output
2021-05-19 12:20:39 -05:00
Nia Weiss
f4ba34247f
remove attributes
...
Attributes are unmaintained and unused.
They have become more of a liability than a benefit.
This change eliminates them from the codebase.
The only user-visible change (assuming that attrs are not used) is that the attrs field will no longer appear in row JSON.
2021-05-14 10:28:08 -04:00
Maxton Huff
53da35eb00
add missing String() calls in error messages
2021-05-13 12:01:12 -05:00
Maxton Huff
63196e7981
add String() to shard slices to reduce error length
2021-05-13 11:39:23 -05:00
Ben Johnson
7863a97add
Merge branch 'master' into extract-timestamp
2021-04-13 10:36:31 -06:00
Alan Bernstein
285d0a0af8
Add log prefix levels
2021-04-12 20:33:39 -05:00
Seebs
2833365aae
reuse the findExisting filter between fields, drop separate hack for existence
...
The existence field wasn't working because runs were broken for filters in
RBF. Fixing that allows us to simplify the logic. Also, we reuse the
findExisting filter because the filter's cached collection of containers
can be reused between things, allowing us to reduce allocations when
there's a lot of views.
2021-04-12 16:14:45 -05:00
Ben Johnson
2864a851ab
Fix timestamp Extract()
2021-04-12 13:58:46 -06:00
tgruben
3bc4309a96
Merge branch 'master' into delete
2021-04-09 12:41:31 -05:00
Ben Johnson
5defbe3ef2
Fix timestamp value import
2021-04-09 10:56:25 -06:00
tgruben
a60c70b2a5
Merge branch 'master' into delete
2021-04-09 10:26:30 -05:00
Ben Johnson
d70eb737cb
Fix timestamp field issues
2021-04-09 08:26:12 -06:00
Todd Gruben
ac7a8c3dd5
validate existence
2021-04-09 07:24:43 -05:00
Todd Gruben
918644820b
added pql delete function
2021-04-07 13:57:43 -05:00
Ben Johnson
cfc725e799
Add timestamp field type support
2021-04-06 10:50:10 -06:00
Nia
d5da6e229c
Merge branch 'master' into external-lookup
2021-03-31 08:12:18 -04:00
Maxton Huff
ff82447647
Merge branch 'master' into percentile
2021-03-30 08:20:45 -05:00
Maxton Huff
8c20d9a51c
remove redundant error message
2021-03-30 08:13:36 -05:00
Maxton Huff
13ec97abf5
add new test cases for limits and clarify error messages
2021-03-29 16:55:50 -05:00
Maxton Huff
4c8dc8d54f
address variable declaration warning
2021-03-29 16:24:56 -05:00
Maxton Huff
377c3f3654
rework checks and reword incorrect type error message
2021-03-29 15:59:30 -05:00
Nia Weiss
9bc1b23b7e
change "External" DB to "Lookup" DB
2021-03-29 12:54:29 -04:00
Nia Weiss
c4aad290ed
address ExternalLookup review comments
2021-03-29 08:22:41 -04:00
Maxton Huff
4ce71eeddf
change nth value limit message and number of test int64 nth values
2021-03-26 16:54:44 -05:00
Maxton Huff
f06c13abcd
alter incorrect type error message
2021-03-26 16:11:16 -05:00
Maxton Huff
6c94bfdb5e
improve error responses and change switch statement to allow int64
2021-03-26 13:56:22 -05:00
Maxton Huff
8746444cdb
add error message for invalid type
2021-03-25 16:57:08 -05:00
Maxton Huff
61beef7e5a
add Int64() function and include case of int64
2021-03-25 16:27:55 -05:00
Nia Weiss
e9b92e1cd4
add ExternalLookup query
2021-03-25 13:21:28 -04:00
Maxton Huff
d3438e8a80
correct k calculation and change test nth values
2021-03-24 10:58:47 -05:00
Maxton Huff
40e3acc3e4
change percentile value ranges from 0-1 to 0-100
2021-03-23 16:57:37 -05:00
Kuba Podgórski
1e5388dbe9
Move internals proto files into separate package (pb)
2021-03-22 20:28:00 +01:00
Kuba Podgórski
d370452449
Add helper function FirstStringArg
2021-03-16 16:32:35 +01:00
Kuba Podgórski
1dac4c7622
Consistency with aggregate functions
2021-03-16 15:02:40 +01:00
Matt Jaffee
11288c2ae8
Revert "Basic pilosa changes for oracle support"
...
This reverts commit 47e74f2603 .
2021-03-14 22:17:26 -05:00
Todd Gruben
47e74f2603
Basic pilosa changes for oracle support
2021-03-11 11:16:53 -06:00
Travis
ea8b07d380
Merge branch 'master' into disco
2021-03-02 22:11:04 -06:00
Matt Jaffee
f81c0cab6b
move 0.0 check up to right after Min is queried
2021-03-02 21:59:46 -06:00
Matt Jaffee
1e4cc12bd0
handle 0th percentile properly
2021-03-02 21:47:27 -06:00
nagamocha3000
7da218727d
Separate out tests on Percentile to top level
2021-03-02 20:36:53 -06:00