Skip to content
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

Remove old readme file #34

Merged
merged 3 commits into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions BodoSQL/bodosql/bodosql_types/snowflake_catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,7 @@ def from_conn_str(cls, conn_str: str) -> "SnowflakeCatalog":
raise BodoError(
f"SnowflakeCatalog.from_conn_str: `conn_str` must contain a user login name. {ref_str}"
)



if (password := conn_contents.pop("password", None)) is None:
password = ""
if (account := conn_contents.pop("account", None)) is None:
Expand Down
2 changes: 1 addition & 1 deletion BodoSQL/bodosql/tests/test_literals.py
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ def test_backslash_literals(spark_info, memory_leak_check):
def test_large_day_literals(bodosql_date_types, memory_leak_check):
"""
tests that Interval literals with large offsets are handled by BodoSQL.

"""
query = "select A + Interval '180 Days' as output from table1"
expected_output = pd.DataFrame(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,6 @@ def impl4():
"snowflake://myusername:mypassword@myaccount/mydatabase/myschema?role=USERADMIN&warehouse=mywarehouse",
# Missing Password
"snowflake://myusername@myaccount/mydatabase?warehouse=mywarehouse",


],
)
def test_snowflake_catalog_from_conn_str(conn_str: str):
Expand Down
7 changes: 0 additions & 7 deletions README_pypi.md

This file was deleted.

2 changes: 1 addition & 1 deletion bodo/hiframes/pd_groupby_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -1657,7 +1657,7 @@ def resolve_window_funcs(
args[3] if len(args) > 3 else kws.pop("na_position", default_tuple)
)
# We currently require only a single order by column as that satisfies the initial

if not (
isinstance(order_by, tuple)
and all(isinstance(col_name, str) for col_name in order_by)
Expand Down
2 changes: 1 addition & 1 deletion bodo/libs/array_kernels.py
Original file line number Diff line number Diff line change
Expand Up @@ -4354,7 +4354,7 @@ def np_interp(x, xp, fp, left=None, right=None, period=None):

# Using objmode since Numpy's implementation is optimized:
# https://github.com/numpy/numpy/blob/1f82da745496092d85b402b1703877462a7c2de2/numpy/core/src/multiarray/compiled_base.c#L492

def impl(x, xp, fp, left=None, right=None, period=None): # pragma: no cover
with bodo.objmode(A=out_type):
A = np.interp(x, xp, fp, left, right, period)
Expand Down
6 changes: 3 additions & 3 deletions bodo/tests/test_snowflake_read.py
Original file line number Diff line number Diff line change
Expand Up @@ -3089,8 +3089,8 @@ def impl(query, conn_str):
def test_snowflake_filter_pushdown_edgecase(memory_leak_check):
"""
Test that filter pushdown works for an edge case


"""

@bodo.jit(inline="never")
Expand Down Expand Up @@ -3153,7 +3153,7 @@ def impl_should_not_do_filter_pushdown(conn):
def test_snowflake_filter_pushdown_edgecase_2(memory_leak_check):
"""
Test that filter pushdown works for a specific edge case

Originally, this would throw a compile time error in the filter pushdown code.
"""

Expand Down
2 changes: 1 addition & 1 deletion buildscripts/bodo/conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,4 @@ about:
home: https://bodo.ai
license: Apache-2.0
license_file: LICENSE
summary: Python Supercomputing Analytics Platform
summary: High-Performance Python Compute Engine for Data and AI
6 changes: 3 additions & 3 deletions e2e-tests/search_grids/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
import numpy as np
import pandas as pd

import bodo
from bodo import prange

# Local imports
from tools import search

import bodo
from bodo import prange


@bodo.jit(cache=True, spawn=True, replicated=["df_prod", "grids"])
def search_all(categories, strategies, df_prod, grids, results_file):
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ build-backend = "scikit_build_core.build"
[project]
name = "bodo"
dynamic = ["version"]
description = "The Python Supercomputing Analytics Platform"
readme = "README_pypi.md"
description = "High-Performance Python Compute Engine for Data and AI"
readme = "README.md"
requires-python = ">=3.10,<3.13"
keywords = ["data", "analytics", "cluster"]
authors = [{ name = "Bodo.ai" }]
Expand Down
Loading