-
Notifications
You must be signed in to change notification settings - Fork 19
introduce ndarr support #98
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
Open
kafka1991
wants to merge
123
commits into
main
Choose a base branch
from
array
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
Changes from 14 commits
Commits
Show all changes
123 commits
Select commit
Hold shift + click to select a range
87aa240
c client nd array begin.
kafka1991 6bd3223
Ndarray support for rust client.
kafka1991 b518a99
optimize doc.
kafka1991 53a430e
add tests.
kafka1991 b1ebd1d
fix comments.
kafka1991 006af98
fix docs.
kafka1991 a31716a
fix tests and compile error in ffi.
kafka1991 463a2d3
format code.
kafka1991 44fae08
ffi supported
kafka1991 93c6f9d
ndarray c api
kafka1991 e9da558
format
kafka1991 0e8a9e5
c++ api support.
kafka1991 261163c
add include.
kafka1991 a565109
code format.
kafka1991 d1edbbc
Merge remote-tracking branch 'origin/main' into array
kafka1991 e161b1d
conflict resolve
kafka1991 4a59ec0
code review.
kafka1991 0c513b1
code format.
kafka1991 4a58346
c example
kafka1991 1a6cf6f
make mock.rs recv works.
kafka1991 9caed7a
easier pre-ci 'proj' script to build lint and test changes
amunra c2583f1
c api add strides.
kafka1991 0476faf
add strideArrayView for rust array ingress api
kafka1991 31e57c5
add strideArrayView for rust array ingress api
kafka1991 533224a
add benchmark test.
kafka1991 8d30e57
fix tests
kafka1991 36203a6
better memory copy.
kafka1991 feaf5be
code format
kafka1991 c4bed10
make c api works.
kafka1991 f3011e1
make c api works.
kafka1991 70eaa24
code format
kafka1991 526e8ae
make c++ tests work.
kafka1991 9c16d74
fix compile error.
kafka1991 5dae9d0
make c++20 build happy
kafka1991 ea52293
code format
kafka1991 193b887
fix cpp problem on windows.
kafka1991 523a855
lint issues
amunra 3442cbe
introduce line protocol version
kafka1991 2b927ae
support https
kafka1991 edb40fc
code format.
kafka1991 c9f1476
implement NDArrayView for common built-in array, vector and slices.
kafka1991 a883112
code format
kafka1991 f3e8681
add tests for build-in array,vector and slice.
kafka1991 1ee3b58
add line protocol version tests for rust client.
kafka1991 d34c651
make line protocol version c++ interface more ideamatic
kafka1991 9c78839
fix build failure.
kafka1991 ced8e05
fix little comment
kafka1991 ef8ab61
add system_test.
kafka1991 ed3fc06
add more system array tests
kafka1991 3839403
code format
kafka1991 33767f3
better c/cpp array examples.
kafka1991 6e8d77e
fix test.py
kafka1991 6168e7f
add array example tests.
kafka1991 d758e6d
c error code.
kafka1991 bf8ae37
remove unnecessary mut.
kafka1991 fa6f04d
make c++20 happy
kafka1991 3ce862e
more ideamatic python array interface
kafka1991 6678679
code format and cpp compile fix.
kafka1991 6f1e7e3
fixed encapsulation issue (we were leaking internal types to the publ…
amunra d76b272
Merge branch 'array' of https://github.com/questdb/c-questdb-client i…
amunra 8d739f1
typo fixed.
kafka1991 710a69f
cleanup and added todo comments
amunra 997937c
Merge branch 'array' of https://github.com/questdb/c-questdb-client i…
amunra 75d01ae
removed slow build debug artifacts upload which we generally don't need
amunra 066d0a1
Merge remote-tracking branch 'origin/main' into array
amunra b091bf6
fix failed tests.
kafka1991 ca4f47c
optimize internal implementation
kafka1991 68d89d3
fix benchmark
kafka1991 47cdde6
optimize array internal implementation
kafka1991 542da03
fix compile error.
kafka1991 175d895
test format
kafka1991 b89788c
code review.
kafka1991 58c6539
fix c api
kafka1991 8fb0c4a
code reviews.
kafka1991 56e349a
rename c api `new_buffer()` name.
kafka1991 ce8a084
Merge remote-tracking branch 'origin/main' into array
amunra f163a31
fix system.tests
kafka1991 82b0dc3
Merge remote-tracking branch 'origin/array' into array
kafka1991 0c5e509
renamed Influx to Ingestion in various places to avoid being misleadi…
amunra 6e1e68d
fix systemtests
kafka1991 a461bfd
reworked the python system tests for cross version testing
amunra bf419f1
enrich rust tests.
kafka1991 01bfd91
clearing all tables before each test run
amunra 36cb2e3
Merge branch 'array' of https://github.com/questdb/c-questdb-client i…
amunra 8c1d9b9
fixed broken C example
amunra 36f4bd5
minor fixes
amunra 3392627
fix abnormal tests hang.
kafka1991 d4d6bb1
enrich tests
kafka1991 e3a6bec
remove buffer size overflow test
kafka1991 c05753e
empty array throw exception.
kafka1991 b9e023f
enrich tests.
kafka1991 3fd415f
test assertion improvements
amunra eadbadf
fixed failing test on Windows
amunra cba4c33
fix tests
kafka1991 a25e66c
tweaks to speed tests up on Windows
amunra 3b134d2
skipping redundant tests
amunra 692088e
skipping more redundant tests
amunra 9521d0f
reduced some timeouts on expected-timeout tests
amunra 54f6969
skipping even more redundant tests
amunra bba4192
ignoring profile result from git-tracked files
amunra 039ecf6
use `assert_err_contains` in all tests.
kafka1991 b3d982f
use `assert_err_contains` in all tests.
kafka1991 7c75cdb
fixed buffer/sender version checks
amunra d9dd58b
refactoring of the C and C++ public apis and some minor Rust changes
amunra ac38b3c
removed convenience constructors, users should prefer conf or env
amunra e5fc025
less broken
amunra 81675ad
gcc fix
amunra 5889e05
incomplete: moving C strides view to ffi crate
amunra 0c12e6d
add max_name_len ffi
kafka1991 8df0379
You shall pass!
amunra 48748cb
removed no-panic dependency and cleaned up unused code when building …
amunra c51fef2
export max_array_dims
kafka1991 09a1172
Merge branch 'array' of github.com:questdb/c-questdb-client into array
kafka1991 ea90636
Revert "export max_array_dims"
kafka1991 5da905e
remove comment.
kafka1991 1ed8d6c
add `line_sender_c_example_array_elem_strides` api
kafka1991 27383c8
remove buffer size overflow test
kafka1991 f8a1771
remove buffer size overflow test
kafka1991 dc8b43b
fix typo.
kafka1991 9ecdad9
adapt server json path format.
kafka1991 3d9ab0e
code format
kafka1991 0c70977
Updated readmes
amunra 76296ec
add non-contiguous minus strides array.
kafka1991 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,6 +48,15 @@ pub enum ErrorCode { | |
|
||
/// Bad configuration. | ||
ConfigError, | ||
|
||
/// Array has too many dims. Currently, only arrays with a maximum [`crate::ingress::ndarr::MAX_DIMS`] dimensions are supported. | ||
ArrayHasTooManyDims, | ||
|
||
/// Array view internal error. | ||
ArrayViewError, | ||
|
||
/// Buffer outOfMemory. | ||
BufferOutOfMemory, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done |
||
} | ||
|
||
/// An error that occurred when using QuestDB client library. | ||
|
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to come up with something that's a bit more idiomatic C++.
Let's park the C++ API for now until we have everything else nailed down.