cc1a5fb8ea
[Function] Support '%' in date format string ( #3037 )
...
eg:
select str_to_date('2014-12-21 12%3A34%3A56', '%Y-%m-%d %H%%3A%i%%3A%s');
select unix_timestamp('2007-11-30 10:30%3A19', '%Y-%m-%d %H:%i%%3A%s');
This also enable us to extract column fields from HDFS file path with contains '%'.
2020-03-05 08:56:02 +08:00
fc55423032
[SQL] Support Grouping Sets, Rollup and Cube to extend group by statement
...
Support Grouping Sets, Rollup and Cube to extend group by statement
support GROUPING SETS syntax
```
SELECT a, b, SUM( c ) FROM tab1 GROUP BY GROUPING SETS ( (a, b), (a), (b), ( ) );
```
cube or rollup like
```
SELECT a, b,c, SUM( d ) FROM tab1 GROUP BY ROLLUP|CUBE(a,b,c)
```
[ADD] support grouping functions in expr like grouping(a) + grouping(b) (#2039 )
[FIX] fix analyzer error in window function(#2039 )
2020-01-17 16:24:02 +08:00
8df63bc191
[Doc] Add en doc for dynamic partition feature ( #2764 )
2020-01-16 21:54:26 +08:00
9e54751098
[Snapshot] Modify the prefer snapshot version ( #2748 )
...
In this CL, prefer snapshot version in snapshot request is defined
in thrift. So that both FE and BE can use this version value.
2020-01-15 15:10:14 +08:00
e5717efc5a
[Insert] Return more info of insert operation ( #2718 )
...
Standardize the return results of INSERT operations,
which is convenient for users to use and locate problems.
More details can be found in insert-into-manual.md
2020-01-15 10:39:53 +08:00
a36193dfab
Support decimal and timestamp type in orc load ( #2759 )
2020-01-15 07:40:30 +08:00
42dfe1369b
Add filter conditions for 'show partitions from table' syntax ( #2553 )
...
Add filter conditions for show partitions from table syntax, to filter partitions needed
2020-01-03 19:52:25 +08:00
9fbc1c7ee6
Support where/orderby/limit after “SHOW ALTER TABLE COLUMN“ syntax ( #2380 )
...
Features:
1、Support WHERE/ORDER BY/LIMIT
2、Columns:TableName、CreatTime、FinishTime、State
3、Only “And” between conditions
4、TableName and State column only support "=" operator
5、CreateTime and FinishTime column support “=”,“>=”,"<=",">","<","!=" operators
6、CreateTime and FinishTime column support Date and DateTime string, eg:"2019-12-04" or "2019-12-04 17:18:00"
TestCase:
MySQL [haibotest]> show alter table column where State='FINISHED' and CreateTime > '2019-12-03' order by FinishTime desc limit 0,2;
+-------+---------------+---------------------+---------------------+---------------+---------+---------------+---------------+---------------+----------+------+----------+---------+
| JobId | TableName | CreateTime | FinishTime | IndexName | IndexId | OriginIndexId | SchemaVersion | TransactionId | State | Msg | Progress | Timeout |
+-------+---------------+---------------------+---------------------+---------------+---------+---------------+---------------+---------------+----------+------+----------+---------+
| 11134 | test_schema_2 | 2019-12-03 19:21:42 | 2019-12-03 19:22:11 | test_schema_2 | 11135 | 11059 | 1:192010000 | 3 | FINISHED | | N/A | 86400 |
| 11096 | test_schema_3 | 2019-12-03 19:21:31 | 2019-12-03 19:21:51 | test_schema_3 | 11097 | 11018 | 1:2063361382 | 2 | FINISHED | | N/A | 86400 |
+-------+---------------+---------------------+---------------------+---------------+---------+---------------+---------------+---------------+----------+------+----------+---------+
2 rows in set (0.00 sec)
2019-12-06 16:24:44 +08:00
46181c0880
Fix some bugs about load label ( #2241 )
2019-11-23 00:04:45 +08:00
d8cfbbedf7
Support bitmap_empty function ( #2227 )
2019-11-18 20:37:00 +08:00
6759e83a07
Add license header for md files and fix some translation's error ( #2137 )
2019-11-06 21:35:07 +08:00
62acf5d098
Limit the memory usage of Loading process ( #1954 )
2019-10-15 09:26:20 +08:00
b84ef013eb
Fix the mistake for HLL in mini load ( #1981 )
...
[Docs] Fix mistakes for HLL column in mini load
2019-10-14 19:46:23 +08:00
ec3aa03c45
Add more routine load example ( #1902 )
2019-09-27 20:42:52 +08:00
40b9c3571b
Support hll_empty function ( #1825 )
2019-09-25 09:28:02 +08:00
e8da855cd2
Support setting timezone for stream load and routine load ( #1831 )
2019-09-20 07:55:05 +08:00
e70e48c01e
Add a ALTER operation to change distribution type from RANDOM to HASH ( #1823 )
...
Random distribution is no longer supported since version 0.9.
And we need a way to convert the random distribution to hash distribution.
ALTER TABLE db.tbl SET ("distribution_type" = "hash");
2019-09-18 14:16:26 +08:00
054a3f48bc
Add where expr in broker load ( #1812 )
...
The where predicate in broker load is responsible for filtering transformed data.
The docs of help and operator has been changed.
2019-09-17 11:32:40 +08:00
044489b92f
Optimize some kinds of load jobs ( #1762 )
...
1. Support specifying label to Insert Into stmt.
INSERT INTO tbl1 WITH LABEL label1 ...;
2. Return job' state corresponding to the existing label in result of stream load.
...
"Status": "Label Already Exists",
"ExistingJobStatus": "FINISHED"
...
3. Return the recent 2000 transactions in SHOW PROC '/transactions'
2019-09-09 22:11:12 +08:00
1164264e9d
Add English version Doris website ( #1729 )
2019-08-30 22:07:24 +08:00
7a0c7f45b2
Add English documents for Doris ( #1719 )
...
The english documents is translated by machine. So It may has some mistake.
We will fix them later
2019-08-29 13:47:15 +08:00