Commit graph

43 commits

Author SHA1 Message Date
Yihao Deng
abfcdc355b
fix: invalid decompress (#32742) 2025-08-26 14:46:03 +08:00
Yihao Deng
bcabf3536a
feat: support BLOB data type (#31704) 2025-07-17 14:17:47 +08:00
wangjiaming
f50fcb85b8
feat(decimal): support decimal data type (#30060)
* decimal: create table

* decimal: add test case decimal.py

* decimal: add decimal.c

* support input decimal

* decimal test

* refactor svalue

* fix test cases

* add decimal unit test

* add decimal test cmake

* support insert and query decimal type

* define wide integer, support decimal128

* support decimal128 divide

* set decimal type expr res types

* scalar decimal

* convert to decimal

* fix decimal64/128 from str and to str

* fix decimal from str and decimal to str

* decimal simple conversion

* unit test for decimal

* decimal conversion and unit tests

* decimal + - * /

* decimal scalar ops and comparision

* start to refactor GET_TYPED_DATA

* support decimal max func, cast func

* refactor GET_TYPED_DATA interface

* decimal scalar comparision

* start to implement sum for decimal

* support sum and avg for decimal type

* decimal tests

* add decimal test

* decimal add test cases

* decimal use int256/int128

* decimal testing

* fix decimal table meta and add tests for decimal col streams

* fix create stream and create tsma

* test insert decimal values

* decimal from str

* test decimal input

* test parse decimal from string

* add taos_fetch_field_e api

* decimal insert tests

* test decimal operators

* decimal operator test

* feat:support decimal in raw block

* decimal operator tests

* decimal test

* feat:support decimal in raw block

* feat:support decimal in raw block

* feat:add schemaExt to SMqDataRsp

* feat:remove add schemaExt to SMqDataRsp

* feat:remove add schemaExt to SMqDataRsp

* feat:remove add schemaExt to SMqDataRsp

* decimal test operators

* decimal operator test

* test decimal operators

* test decimal compare operators

* decimal unary operator test

* decimal col with decimal col oper test

* test decimal col filtering

* fix decimal float operator test

* decimal test where filtering

* fix decimal filtering

* fix decimal order by

* fix decimal op test

* test decimal agg funcs

* test decimal functions

* remove assert

* fix ci build for ret check

* fix decimal windows build

* fix ci ret check

* skip decimal ret check

* skip decimal ret check

* fix decimal tests

* fix decimal ci test

* decimal test

* fix(tmq): heap user after free

* fix(tmq): double free

* fix(tmq): double free

* fix decimal tests

* fix(decimal): decimal test ci build

* fix(decimal): windows build

* fix(decimal): decimal test build

* fix(decimal): fix decimal build and tests

* fix(decimal): fix decimal tests

* fix(decimal): fix taos_fetch_fields_e api

* fix(decimal): fix decimal taos_fetch_fields_e api

* fix(decimal): rebase 3.0

* fix(decimal): fix decimal functions

* fix(decimal): fix decimal test case memory leak

* fix(decimal): fix decimal tests

* fix(decimal): fix decimal test case

* fix(decimal): fix decimal tests

* feat(decimal): fix unit tests

* feat(decimal): fix deicmal unit test

---------

Co-authored-by: wangmm0220 <wangmm0220@gmail.com>
Co-authored-by: yihaoDeng <yhdeng@taosdata.com>
2025-03-14 18:08:07 +08:00
Jinqing Kuang
647066c4f9 enh(query)[TD-32652]: enable AVX implementation with CPU dispatching
Extract AVX implementation of specific functions into separate files.
The CPU dispatching mechanism will now check the machine's instruction
set at runtime to determine whether to use the AVX implementation or
fallback to the naive version.

This enhancement improves performance on most machines while ensuring
compatibility with older hardwares.
2024-11-01 12:44:59 +08:00
Jinqing Kuang
056fbe5eb3 fix(query)[TD-30667]. Fix compilation with AVX instructions on older GCC versions 2024-10-15 15:30:04 +08:00
Jinqing Kuang
636c65d62f enh(query)[TS-4661]. Add AVX2 support for decompression and MIN/MAX comparison
- Implement AVX2 instructions to decompress float and double data types
- Add AVX2-based MIN/MAX comparison for both integer and floating-point data types
- Include unit tests to verify functionality and performance improvements
2024-10-14 15:31:40 +08:00
Hongze Cheng
0e1ef424fa remove more void 2024-09-26 11:27:01 +08:00
Hongze Cheng
d183a7b772 ehn: remove void 2024-09-25 18:21:27 +08:00
Hongze Cheng
c9da6822e0 ehn: handle void 2024-09-23 18:02:25 +08:00
Haojun Liao
60fa674be8 fix(stream): fix race-condition during expand stream tasks. 2024-07-10 17:46:33 +08:00
Yihao Deng
f3ac2e1ef9 add tmq interface 2024-04-22 03:56:45 +00:00
yihaoDeng
ee81a43f81 refactor code 2024-03-28 11:56:44 +00:00
yihaoDeng
6d19283d1f refactor code 2024-03-27 05:49:13 +00:00
yihaoDeng
18986c0ced refactor code 2024-03-26 12:44:53 +00:00
yihaoDeng
02e0e45183 refactor code 2024-03-26 08:50:21 +00:00
yihaoDeng
66d9447733 refactor code 2024-03-24 08:15:01 +00:00
yihaoDeng
3ccf9942a9 refactor code 2024-03-24 05:35:07 +00:00
yihaoDeng
672d189d6f add more compress alg 2024-03-20 08:51:40 +00:00
yihaoDeng
d31c7f40c7 tsdb support compress 2024-03-18 12:12:55 +00:00
yihaoDeng
4fcd80ad27 tsdb support compress 2024-03-16 13:46:50 +00:00
yihaoDeng
f607cd60e3 tsdb support compress 2024-03-15 10:22:57 +00:00
yihaoDeng
9a6a533076 add compress dict 2024-02-29 10:40:59 +00:00
yihaoDeng
3808abf492 add compress dict 2024-02-28 12:16:22 +00:00
yihaoDeng
bc98978b33 add compress dict 2024-02-28 07:58:24 +00:00
Haojun Liao
f9d717d0f2 refactor: do some internal refactor. 2023-11-27 14:42:13 +08:00
Haojun Liao
1dd5cd17a0 fix(tsdb): add simd for decompress timestamp. 2023-11-26 23:53:05 +08:00
Haojun Liao
65aef15be6 refactor: do some internal refactor. 2023-11-13 23:56:36 +08:00
Haojun Liao
9914e327d1 refactor: do some internal refactor. 2023-11-13 23:56:35 +08:00
Alex Duan
141bba6be7 fix: build error 2023-09-23 11:59:30 +08:00
Alex Duan
20cded7d6e fix: build error 2023-09-19 12:57:18 +08:00
Alex Duan
4a4e778a6a fix: remove depends from util to common 2023-09-19 10:46:52 +08:00
lx1zhong
6da4088012 add TSZ and ADT-FSE algorithm 2023-09-15 14:30:23 +08:00
Hongze Cheng
a4d16f1c00 more code 2022-09-27 17:36:02 +08:00
Hongze Cheng
efacafde33 refact more code 2022-09-26 10:47:24 +08:00
Hongze Cheng
9f7771cde4 refact more code 2022-09-22 11:52:47 +08:00
Hongze Cheng
ce9afbae19 more code 2022-09-21 14:02:52 +08:00
Hongze Cheng
b4a43079fb more code 2022-09-21 11:03:08 +08:00
Hongze Cheng
fb45b8d577 refact code 2022-09-20 13:39:32 +08:00
Hongze Cheng
215883ea64 refact code 2022-09-20 11:08:46 +08:00
Hongze Cheng
678f9da4ac refact compress code 2022-09-20 10:11:55 +08:00
Shengliang Guan
3e49b78ab7 compression 2022-02-28 10:47:44 +08:00
Haojun Liao
5921993336 [td-10564] support unary scalar function. 2021-11-01 11:53:05 +08:00
Haojun Liao
819c7fc030 [td-10529] fix compiler error 2021-10-08 20:33:46 +08:00
Renamed from include/util/tscompression.h (Browse further)