Skip to content

Handle numpy array query params#14

Merged
adsharma merged 2 commits into
mainfrom
fix-issue-483-numpy-param
May 12, 2026
Merged

Handle numpy array query params#14
adsharma merged 2 commits into
mainfrom
fix-issue-483-numpy-param

Conversation

@adsharma
Copy link
Copy Markdown
Contributor

@adsharma adsharma commented May 12, 2026

Fixes: #483

@adsharma adsharma force-pushed the fix-issue-483-numpy-param branch 3 times, most recently from cb6add2 to c7f79da Compare May 12, 2026 18:17
@adsharma adsharma force-pushed the fix-issue-483-numpy-param branch from c7f79da to c2a764f Compare May 12, 2026 23:06
Fix ndarray parameter conversion by importing importlib.util directly,
inferring NumPy parameter types from dtype and shape, reading ndarray
buffers through Python's buffer metadata instead of materializing
tolist(), and using stable homogeneous-list inference for Python
bool, int, and float lists.
@adsharma adsharma force-pushed the fix-issue-483-numpy-param branch from c2a764f to d4c0f40 Compare May 12, 2026 23:20
@adsharma
Copy link
Copy Markdown
Contributor Author

index is now a keyword after the core repo implemented CREATE INDEX syntax. This PR involves fixes in a few places where the new keyword had to be quoted.

@adsharma adsharma merged commit d5fdcc4 into main May 12, 2026
2 checks passed
@adsharma adsharma deleted the fix-issue-483-numpy-param branch May 12, 2026 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AttributeError: module 'importlib' has no attribute 'util' when passing numpy.ndarray as $param for a FLOAT[N] column

1 participant