Commit graph

60 commits

Author SHA1 Message Date
kevin men
10ae72944d
docs: integrate with Pandas docs (#33350)
* docs: integrate with Pandas docs

* docs: add pandas example

* docs: modify pandas example format

* docs: upgrade taopy version

* fix(gpt): update requirements.

---------

Co-authored-by: Haojun Liao <hjliao@taosdata.com>
Co-authored-by: Haojun Liao <hjxilinx@users.noreply.github.com>
2025-10-29 18:05:22 +08:00
kevin men
22209fabea
docs: upgrade the version of taopsy (#32749)
* docs: upgrade the version of taopsy

* docs: modify taos-ws-py  sqlalchemy examples

* docs: modify taos-ws-py connect examples

* docs: fix taos-ws-py sqlalchemy examples error

* docs: fix taos-ws-py sqlalchemy pool examples error

* docs: add taos-ws-py sqlalchemy pool some addr examples
2025-08-26 16:28:10 +08:00
kevin men
f58c827eb8
docs: add python connect pool cases (#32554)
* docs: add python connect pool cases

* docs: modify python connector English doc
2025-08-13 09:12:23 +08:00
kevin men
ebc1a6b6ee
docs: update python version (#32243)
* docs: update python version

* docs: add datatype map
2025-07-25 19:25:50 +08:00
chenhaoran
56bdc71062 fix: initialize web_path list for storing web paths in scan_file_path.py 2025-07-15 13:08:29 +08:00
haoranchen
51d5a2abe7
feat: enhance scan file path script with additional options for directory scanning (#31895) 2025-07-15 11:48:02 +08:00
Bomin Zhang
876979b5f5
feat[ts-6107]: shared storage (#31552)
* add API to use s3 as shared storage

* support using local file system as shared storage

* upload file to shared storage

* support read, compact and drop

* finish basic mnode & vnode msg processing

* follower sync migration state

* implement mnode transaction, and improve log

* send migration progress msg to dnode to avoid deadlock

* implement following migration

* remove mcount

* avoid redo migration on startup

* avoid follower deadlock when leader is down

* trigger migrate by timer,  avoid compact after migration

* comment out the usage of 'tcs' functions in stream

* change config item prefix from s3 to ss

* change db option prefix from s3 to ss

* rename s3 data struct, function, file to ss

* rename s3 macro to ss

* update s3 sql to ss

* rename remaining s3 items to ss

* check ss configruation, improve s3 retry

* grant object storage -> shared storage,  check ssEnabled

* fix memory leaks

* update build options

* omit sensitive information when dump config

* fix backward compatibility issue

* fix issues found in ci-checks

* fix some failed test cases

* avoid follower timeout and improve log

* fix: follower timeout because migration status not updated

* refuse migration if there's an in progress one

* fix ss test case

* remove garbage files and other minor improvement

* fix failed test cases

* update unit test

* fix failed test case

* fix failed test case

* update document

* update document and fix failed test cases

* fix minor issues in code, test and document

* check new commit after migration task is scheduled

* fix several issus

1. migrate information cannot be dropped sometimes because progress response was put into read queue.
2. memory leak in rare cases
3. data corruption in rare cases
4. failed test case

* add shared storage upgrade tool

* fix compile error
2025-07-14 16:33:53 +08:00
Simon Guan
fc2fec02c7
merge: from main to 3.0 branch (#31562) 2025-07-03 09:15:59 +08:00
kevin men
b9d95995af
docs: update python websocket connector version (#31328) 2025-06-17 21:28:20 +08:00
chenhaoran
284df57050 fix: correct commit prefix casing and improve log grep commands in restore.sh 2025-06-17 15:47:30 +08:00
kevin men
a4a1fca17a
docs: add python stmt2 websocket docs (#31193)
* docs: add python stmt2 websocket docs

* docs: modify the documentation format of the stmt2 interface

* docs: add stmt2 example run command

* docs: modify stmt2 example error

* docs: modify python connector dependent version

* docs: add stmt2 example log

* docs: modify tmq example error
2025-05-26 20:17:44 +08:00
Yaming Pei
4d16f5bfe1
feat(taosBenchmark): supports decimal data type on main branch (#30504)
* feat: taosBenchmark supports decimal data type

* build: decimal script not use pytest.sh

* fix: fix typo for decimal script

* test: insertBasic.py debug

* build: update python connector version to 2.7.23

* docs: add decimal data type for python connector

* docs: format optimization

* docs: fix typo

* build: update docker taospy version to v2.7.23
2025-03-26 20:28:37 +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
Simon Guan
95116370b5 refactor: minor changes 2025-03-06 16:45:46 +08:00
Simon Guan
b74b038f4f Merge branch '3.0' into merge/mainto3.0 2025-03-04 11:32:29 +08:00
Simon Guan
6826edf5e0 Merge branch 'main' into merge/mainto3.0 2025-03-03 14:01:43 +08:00
Haojun Liao
06ba3027b1 fix(stream): check return value. 2025-03-02 12:06:19 +08:00
Haojun Liao
7319f544c2 refactor(stream): drop task in async ways 2025-02-27 00:14:34 +08:00
Shengliang Guan
3a739beaa5 Merge branch 'main' into merge/mainto3.0 2025-02-22 20:07:40 +08:00
Haojun Liao
ecc667c22b
Revert "refactor(stream): drop task in async ways" 2025-02-21 01:10:18 +08:00
Shengliang Guan
2bee60a41a Merge branch 'main' into merge/mainto3.0 2025-02-20 18:12:02 +08:00
Haojun Liao
43d45e9f9a refactor(stream): drop task in async ways 2025-02-13 23:43:07 +08:00
Alex Duan
ddead1417e fix: update version to taospy==2.7.21 taos-ws-py=0.3.8 2025-01-08 18:03:04 +08:00
happyguoxy
a1bda29ffc test: refine debug 2024-12-03 16:54:17 +08:00
menshibin
3a4ed77b17 upgrade python version 2024-11-20 16:35:27 +08:00
chenhaoran
95cc5053fa test:delete useless file 2024-11-13 15:00:32 +08:00
chenhaoran
de1f4b75a6 test:update install py connector in ci 2024-11-13 10:30:28 +08:00
54liuyao
4d925fa106 adj assert check 2024-11-06 11:33:53 +08:00
Minglei Jin
8b73975455 test/ci/scan_file_path: ignore az cpp module 2024-10-10 18:54:57 +08:00
chenhaoran
c6e2935c47 test: add checks for void function invocations to the CI pipeline 2024-09-26 17:50:20 +08:00
chenhaoran
f0dee9d2f0 test: add checks for void function invocations to the CI pipeline 2024-09-26 17:39:49 +08:00
chenhaoran
dbb0fe7068 tetst:don't check assert of taosx and explorer in ci 2024-09-03 18:37:45 +08:00
chenhaoran
cbc2849122 tetst:add assert check in ci 2024-09-02 20:32:47 +08:00
chenhaoran
6a05d9e4fc tetst:add assert check in ci 2024-09-02 20:31:02 +08:00
Hongze Cheng
4a8b6011f1 enh: add assert CI test case 2024-08-30 15:45:26 +08:00
chenhaoran
0294a2d9d6 tetst: test for checking return value 2024-08-14 19:07:10 +08:00
chenhaoran
109418e57a tetst: test for checking return value 2024-08-14 15:07:39 +08:00
chenhaoran
87f50f01e4 tetst: test for checking return value 2024-08-14 14:39:24 +08:00
chenhaoran
c68c1e3201 test:set debug in address sanitizer model 2024-08-12 19:56:11 +08:00
haoranchen
417459879e
test:skip .h file when scan returned values in scan_file_path.py 2024-08-07 14:34:47 +08:00
haoranchen
48c08bd934
test:skip .h file when scan returned values in scan_file_path.py 2024-08-06 20:34:29 +08:00
chenhaoran
9e30aef192 test: scan returned values in ci 2024-08-02 16:54:54 +08:00
chenhaoran
ed1e3c304a test: scan returned values in ci 2024-08-02 14:03:07 +08:00
chenhaoran
361d3634ff test: scan returned values in ci 2024-08-02 13:21:46 +08:00
chenhaoran
ce006e0b91 test: scan returned values in ci 2024-08-02 10:30:49 +08:00
chenhaoran
cef1920251 test: scan returned values in ci 2024-08-02 09:13:33 +08:00
chenhaoran
5da0d33bf2 test: scan returned values in ci 2024-08-02 02:12:46 +08:00
chenhaoran
cc74abad59 test: scan returned values in ci 2024-08-02 01:53:22 +08:00
chenhaoran
3262b61df0 test: scan returned values in ci 2024-08-02 00:48:49 +08:00
chenhaoran
e26b9a9f1b test: scan returned values in ci 2024-08-01 20:46:49 +08:00