-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enh/cython #229
Open
hadrianl
wants to merge
31
commits into
taosdata:main
Choose a base branch
from
hadrianl:enh/cython
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Enh/cython #229
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. add taos._cinterface.fetch_all_cython
1. add TaosResult._fetch_all_cython
1. add TaoConnection and TaosResult
1. add TaosField 2. serval more methods 3. typo
1. _cinterface split into _cinterface, _objects, _parser
1. add TaosCusor 2. add TaosConsumer and TaosTopicAssignment
1. add async function
1. better exception
1. add async commit
1. TopicPartition 2. TaosConsumer
1. add Message, MessageBlock
1.add schemaless_insert 2.add TaosStmt
1.add annotation
1. fix TaosStmt, TaosMultiBind 2. add TaosMultiBinds 3. fix row_iter for null value 4. add annotation
1. add taos_stop_query
1. better error info
1. add _constants.pyx 2.fix some bug 3.more async code 4.more doc 5. more annotation
1. add TaosResult._is_async 2.add validate_sql
1.improve taos_get_column_data_is_null
1.add tmq auto commit callback 2.free heap data properly
1.add example and test
1. add _parse_bytes 2. separate timestamp parsing and datetime convert
1.connection and consumer would have independent timezone and dt epoch
1.compile as c only
1.fix taos_fetch_block_v3
1. fix `TaosConsumer.commit_a` 2. remove useless `no gil` 3. fix typo 4. fix some type hints
1.fix potential memory leak(set values more than once)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
use cython to wrap dynamic linking into python object
_cinterface.pyx
,_objects.pyx
,_constant.pyx
,_parser.pyx
), which can replace the legacy objectsbuild.py
,cython
,setuptools
and compiler are required to build these codefaster
, morepythonic
andasync
supportednot compatible
with earlier taos versions yetpython 3.10.12
,taos client 3.1.0.0
,taos server 3.1.0.0
, not fully tested with other versions yet3~4 times
faster when test with taosbenchmark dataFIXME
,BUG
need to be reviewed, I`m not sured about these code