Skip to content

Instantly share code, notes, and snippets.

2025-06-25 19:22:23.539920
2025-06-25 19:22:23,540 - [INFO] - Using config {'source_bucket': 'bqe-managed-finml', 'target_bucket': 'bquant-dev-bqds', 'sub_dir': 'mbhasin14', 'universe_parquet_filename': 's3a://bquant-dev-bqds/mbhasin14/e420-price/e420-price-universe', 'monthly_universe_parquet_filename': 's3a://bquant-dev-bqds/mbhasin14/e420-price/e420-price-monthly-universe', 'universe_parquet_filename_polars': 's3://bquant-dev-bqds/mbhasin14/e420-price/e420-price-universe/', 'monthly_universe_parquet_filename_polars': 's3://bquant-dev-bqds/mbhasin14/e420-price/e420-price-monthly-universe/', 'universe_parquet_filename_duckdb': 's3://bquant-dev-bqds/mbhasin14/e420-price/e420-price-universe/*.parquet', 'monthly_universe_parquet_filename_duckdb': 's3://bquant-dev-bqds/mbhasin14/e420-price/e420-price-monthly-universe/*.parquet', 'exbyte': '0xe420', 'library_name': 'e420-price-approach-3', 'storage_options': None, 'arctic_uri': 's3s://s3.amazonaws.com:bquant-dev-bqds?path_prefix=mbhasin14/qdl-ticks-internal&aws_a
2025-06-24 19:27:05.769201
2025-06-24 19:27:05,769 - [INFO] - Using config {'source_bucket': 'bqe-managed-finml', 'target_bucket': 'bquant-dev-bqds', 'sub_dir': 'mbhasin14', 'universe_parquet_filename': 's3a://bquant-dev-bqds/mbhasin14/5445-price/5445-price-universe', 'monthly_universe_parquet_filename': 's3a://bquant-dev-bqds/mbhasin14/5445-price/5445-price-monthly-universe', 'universe_parquet_filename_polars': 's3://bquant-dev-bqds/mbhasin14/5445-price/5445-price-universe/', 'monthly_universe_parquet_filename_polars': 's3://bquant-dev-bqds/mbhasin14/5445-price/5445-price-monthly-universe/', 'universe_parquet_filename_duckdb': 's3://bquant-dev-bqds/mbhasin14/5445-price/5445-price-universe/*.parquet', 'monthly_universe_parquet_filename_duckdb': 's3://bquant-dev-bqds/mbhasin14/5445-price/5445-price-monthly-universe/*.parquet', 'exbyte': '0x5445', 'library_name': '5445-price-approach-3', 'storage_options': None, 'arctic_uri': 's3s://s3.amazonaws.com:bquant-dev-bqds?path_prefix=mbhasin14/qdl-ticks-internal&aws_a
@mkbhasin
mkbhasin / 20250620
Created June 20, 2025 19:01
BQL Sign Off - pybql
2025-06-20 17:59:15,208 - DEBUG - ========================================================================================================================
2025-06-20 17:59:15,209 - DEBUG - Running collection: BQL-Sign-Off
2025-06-20 17:59:15,211 - DEBUG - ------------------------------------------------------------------------------------------------------------------------
2025-06-20 17:59:15,212 - DEBUG - Skipping suite: bqservices
2025-06-20 17:59:15,214 - DEBUG - ------------------------------------------------------------------------------------------------------------------------
2025-06-20 17:59:15,214 - DEBUG - Running suite: pybql...
2025-06-20 17:59:15,215 - DEBUG - mamba installing: pybql-validation=0.140.0a0...
2025-06-20 18:00:18,618 - DEBUG - Testing module: test
============================= test session starts ==============================
@mkbhasin
mkbhasin / gist:f33cd9d03fae81ca8437dc3d6dffdadb
Created June 18, 2025 03:33
bql_signoff_error_python39
Traceback (most recent call last):
File "/opt/kernel/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3031, in _dep_map
This is a long overdue deprecation.
File "/opt/kernel/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2828, in __getattr__
if not m:
AttributeError: _DistInfoDistribution__dep_map
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
@mkbhasin
mkbhasin / bql_signoff_error_20250617
Created June 17, 2025 22:51
BQL Sign Off Error
/opt/kernel/lib/python3.11/site-packages/bqimports/bq_importer.py:104: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
result = self._original_import(
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
Cell In[12], line 1
----> 1 import bqvalidation
2 bqvalidation.run("bql_signoff.json", env="prod", verbose=True, save_report_to_s3=False, bqnte_cluster="aws-af-beta2")
File /opt/kernel/lib/python3.11/site-packages/bqvalidation/__init__.py:1
----> 1 from bqvalidation.main import run