Skip to content

Commit 7fb104a

Browse files
committed
SIMD errors
1 parent cb2ac37 commit 7fb104a

9 files changed

Lines changed: 24 additions & 23 deletions

File tree

.github/workflows/regression_suite.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ jobs:
4242
python -m uv pip install --upgrade numpy cython
4343
python -m uv pip install --upgrade -r $GITHUB_WORKSPACE/tests/requirements.txt
4444
python -m uv pip install --upgrade -r $GITHUB_WORKSPACE/pyproject.toml
45-
python setup.py build_ext --inplace -j 4
45+
python setup.py build_ext --inplace
46+
echo -j 4
4647
4748
- name: "Start Memcached Instance"
4849
run: |
@@ -82,7 +83,6 @@ jobs:
8283
OPTERYX_DEBUG: 1
8384
MAX_LOCAL_BUFFER_CAPACITY: 100
8485
MAX_CACHE_EVICTIONS_PER_QUERY: 4
85-
DATA_CATALOG_PROVIDER: 'ICEBERG'
8686
DATA_CATALOG_CONNECTION: '${{ secrets.DATA_CATALOG_CONNECTION }}'
8787
DATA_CATALOG_STORAGE: '${{ secrets.DATA_CATALOG_STORAGE }}'
8888
VALKEY_CONNECTION: '${{ secrets.VALKEY_CONNECTION }}'

.github/workflows/regression_suite_arm.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ jobs:
3939
python -m uv pip install --upgrade numpy cython
4040
python -m uv pip install --upgrade -r $GITHUB_WORKSPACE/tests/requirements.txt
4141
python -m uv pip install --upgrade -r $GITHUB_WORKSPACE/pyproject.toml
42-
python setup.py build_ext --inplace -j 4
42+
python setup.py build_ext --inplace
43+
echo -j 4
4344
4445
- name: "Authenticate to Google Cloud"
4546
uses: google-github-actions/auth@v1
@@ -55,7 +56,4 @@ jobs:
5556
POSTGRES_USER: '${{ secrets.POSTGRES_USER }}'
5657
POSTGRES_PASSWORD: '${{ secrets.POSTGRES_PASSWORD }}'
5758
MEMCACHED_SERVER: 'localhost:11211'
58-
DATA_CATALOG_PROVIDER: 'ICEBERG'
59-
DATA_CATALOG_CONFIGURATION: '${{ secrets.DATA_CATALOG_CONFIGURATION }}'
60-
EXPERIMENTAL_EXECUTION_ENGINE: 'true'
6159
RESOURCES_PATH: 'testdata'

.github/workflows/regression_suite_mac_ARM.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ jobs:
4848
MACOSX_DEPLOYMENT_TARGET: "10.15"
4949
ARCHFLAGS: -arch arm64
5050
PYO3_CROSS_PYTHON_VERSION: ${{ matrix.python-version }}
51-
run: python setup.py build_ext --inplace -j 4
51+
run: |
52+
python setup.py build_ext --inplace
53+
echo -j 4
5254
5355
- name: "Authenticate to Google Cloud"
5456
uses: google-github-actions/auth@v1
@@ -64,7 +66,5 @@ jobs:
6466
POSTGRES_USER: '${{ secrets.POSTGRES_USER }}'
6567
POSTGRES_PASSWORD: '${{ secrets.POSTGRES_PASSWORD }}'
6668
MEMCACHED_SERVER: 'localhost:11211'
67-
DATA_CATALOG_PROVIDER: 'ICEBERG'
68-
DATA_CATALOG_CONFIGURATION: '${{ secrets.DATA_CATALOG_CONFIGURATION }}'
6969
EXPERIMENTAL_EXECUTION_ENGINE: 'true'
7070
RESOURCES_PATH: 'testdata'

.github/workflows/regression_suite_python313t.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ jobs:
7474
python3.13 -m uv pip install --upgrade numpy cython
7575
python3.13 -m uv pip install --upgrade -r $GITHUB_WORKSPACE/tests/requirements.txt
7676
python3.13 -m uv pip install --upgrade -r $GITHUB_WORKSPACE/pyproject.toml
77-
python3.13 setup.py build_ext --inplace -j 4
77+
python3.13 setup.py build_ext --inplace
78+
echo -j 4
7879
7980
- name: "Start Memcached Instance"
8081
run: |
@@ -114,7 +115,6 @@ jobs:
114115
OPTERYX_DEBUG: 1
115116
MAX_LOCAL_BUFFER_CAPACITY: 100
116117
MAX_CACHE_EVICTIONS_PER_QUERY: 4
117-
DATA_CATALOG_PROVIDER: 'ICEBERG'
118118
DATA_CATALOG_CONNECTION: '${{ secrets.DATA_CATALOG_CONNECTION }}'
119119
DATA_CATALOG_STORAGE: '${{ secrets.DATA_CATALOG_STORAGE }}'
120120
VALKEY_CONNECTION: '${{ secrets.VALKEY_CONNECTION }}'

opteryx/__version__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# THIS FILE IS AUTOMATICALLY UPDATED DURING THE BUILD PROCESS
22
# DO NOT EDIT THIS FILE DIRECTLY
33

4-
__build__ = 1937
4+
__build__ = 1938
55
__author__ = "@joocer"
6-
__version__ = "0.26.2-beta.1937"
6+
__version__ = "0.26.2-beta.1938"
77

88
# Store the version here so:
99
# 1) we don't load dependencies by storing it in __init__.py

opteryx/config.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -235,11 +235,6 @@ def __getattr__(name: str):
235235
return CONCURRENT_WORKERS_DEFAULT
236236
raise AttributeError(name)
237237

238-
DATA_CATALOG_PROVIDER: str = get("DATA_CATALOG_PROVIDER")
239-
"""Data Catalog provider."""
240-
241-
DATA_CATALOG_CONFIGURATION: Optional[str] = get("DATA_CATALOG_CONFIGURATION")
242-
"""Data Catalog configuration, different catalogs have different config formats."""
243238

244239
DISABLE_ZERO_COPY_BUFFER_READS = bool(get("DISABLE_ZERO_COPY_BUFFER_READS", False))
245240
"""Disable zero-copy reads from the buffer pool."""

opteryx/connectors/aws_s3_connector.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,9 @@ def __init__(self, credentials=None, **kwargs):
8787

8888
# Minio v7 uses keyword-only args for construction (endpoint=...).
8989
try:
90-
self.minio = Minio(endpoint=end_point, access_key=access_key, secret_key=secret_key, secure=secure)
90+
self.minio = Minio(
91+
endpoint=end_point, access_key=access_key, secret_key=secret_key, secure=secure
92+
)
9193
except TypeError:
9294
# Fall back to positional args for older Minio versions.
9395
self.minio = Minio(end_point, access_key, secret_key, secure=secure)
@@ -196,7 +198,9 @@ async def async_read_blob(self, *, blob_name, pool, statistics, **kwargs):
196198
bucket, object_path, name, extension = paths.get_parts(blob_name)
197199
# DEBUG: print("READ ", name)
198200
stream = None
199-
stream = self.minio.get_object(bucket_name=bucket, object_name=object_path + "/" + name + extension)
201+
stream = self.minio.get_object(
202+
bucket_name=bucket, object_name=object_path + "/" + name + extension
203+
)
200204
data = stream.read()
201205

202206
ref = await pool.commit(data)
@@ -216,7 +220,9 @@ def read_blob(self, *, blob_name, **kwargs):
216220
stream = None
217221
try:
218222
bucket, object_path, name, extension = paths.get_parts(blob_name)
219-
stream = self.minio.get_object(bucket_name=bucket, object_name=object_path + "/" + name + extension)
223+
stream = self.minio.get_object(
224+
bucket_name=bucket, object_name=object_path + "/" + name + extension
225+
)
220226
content = stream.read()
221227
self.statistics.bytes_read += len(content)
222228
return content

opteryx/managers/kvstores/s3_kv_store.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ def _s3_client(**_kwargs):
4848
# Minio v7 introduced keyword-only constructor parameters (endpoint=...).
4949
# Call using keywords for compatibility with both older and newer SDKs.
5050
try:
51-
return Minio(endpoint=end_point, access_key=access_key, secret_key=secret_key, secure=secure)
51+
return Minio(
52+
endpoint=end_point, access_key=access_key, secret_key=secret_key, secure=secure
53+
)
5254
except TypeError:
5355
# Fallback: older Minio versions accept positional args
5456
return Minio(end_point, access_key, secret_key, secure=secure)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "opteryx"
3-
version = "0.26.2-beta.1937"
3+
version = "0.26.2-beta.1938"
44
description = "Query your data, where it lives"
55
requires-python = '>=3.11'
66
readme = {file = "README.md", content-type = "text/markdown"}

0 commit comments

Comments
 (0)