Skip to content

Commit

Permalink
Bump maplib dep
Browse files Browse the repository at this point in the history
  • Loading branch information
magbak committed Feb 6, 2025
1 parent 2117539 commit de5837c
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 32 deletions.
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ members = [
#pydf_io = { path = "../maplib/lib/pydf_io"}
#representation = { path = "../maplib/lib/representation", features = ["rdf-star"]}
#templates = { path = "../maplib/lib/templates"}
spargebra = { git = "https://github.com/DataTreehouse/maplib", rev="14f10616cdb49cdc7853af047efba85afe7367a0" }
query_processing = { git = "https://github.com/DataTreehouse/maplib", rev="14f10616cdb49cdc7853af047efba85afe7367a0" }
pydf_io = { git = "https://github.com/DataTreehouse/maplib", rev="14f10616cdb49cdc7853af047efba85afe7367a0" }
representation = { git = "https://github.com/DataTreehouse/maplib", rev="14f10616cdb49cdc7853af047efba85afe7367a0" }
templates = { git = "https://github.com/DataTreehouse/maplib", rev="14f10616cdb49cdc7853af047efba85afe7367a0" }
spargebra = { git = "https://github.com/DataTreehouse/maplib", rev="01c9ad280fb890478a7900844433fa62df24d511" }
query_processing = { git = "https://github.com/DataTreehouse/maplib", rev="01c9ad280fb890478a7900844433fa62df24d511" }
pydf_io = { git = "https://github.com/DataTreehouse/maplib", rev="01c9ad280fb890478a7900844433fa62df24d511" }
representation = { git = "https://github.com/DataTreehouse/maplib", rev="01c9ad280fb890478a7900844433fa62df24d511" }
templates = { git = "https://github.com/DataTreehouse/maplib", rev="01c9ad280fb890478a7900844433fa62df24d511" }


sparesults = { version = "0.2.3" }
Expand Down
24 changes: 12 additions & 12 deletions lib/chrontext/src/combiner/lazy_expressions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use crate::combiner::virtualized_queries::split_virtualized_queries;
use crate::combiner::CombinerError;
use async_recursion::async_recursion;
use oxrdf::vocab::xsd;
use polars::prelude::{col, Expr, LiteralValue, Operator};
use polars::prelude::{col, Expr, LiteralValue};
use query_processing::exists_helper::rewrite_exists_graph_pattern;
use query_processing::expressions::{
binary_expression, bound, coalesce_expression, exists, func_expression, if_expression,
Expand Down Expand Up @@ -64,7 +64,7 @@ impl Combiner {
.await?;
binary_expression(
output_solution_mappings,
Operator::Or,
expr,
&left_context,
&right_context,
context,
Expand Down Expand Up @@ -101,7 +101,7 @@ impl Combiner {
.await?;
binary_expression(
output_solution_mappings,
Operator::And,
expr,
&left_context,
&right_context,
context,
Expand Down Expand Up @@ -138,7 +138,7 @@ impl Combiner {
.await?;
binary_expression(
output_solution_mappings,
Operator::Eq,
expr,
&left_context,
&right_context,
context,
Expand Down Expand Up @@ -178,7 +178,7 @@ impl Combiner {
.await?;
binary_expression(
output_solution_mappings,
Operator::Gt,
expr,
&left_context,
&right_context,
context,
Expand Down Expand Up @@ -216,7 +216,7 @@ impl Combiner {

binary_expression(
output_solution_mappings,
Operator::GtEq,
expr,
&left_context,
&right_context,
context,
Expand Down Expand Up @@ -253,7 +253,7 @@ impl Combiner {
.await?;
binary_expression(
output_solution_mappings,
Operator::Lt,
expr,
&left_context,
&right_context,
context,
Expand Down Expand Up @@ -291,7 +291,7 @@ impl Combiner {

binary_expression(
output_solution_mappings,
Operator::LtEq,
expr,
&left_context,
&right_context,
context,
Expand Down Expand Up @@ -373,7 +373,7 @@ impl Combiner {
.await?;
binary_expression(
output_solution_mappings,
Operator::Plus,
expr,
&left_context,
&right_context,
context,
Expand Down Expand Up @@ -410,7 +410,7 @@ impl Combiner {
.await?;
binary_expression(
output_solution_mappings,
Operator::Minus,
expr,
&left_context,
&right_context,
context,
Expand Down Expand Up @@ -448,7 +448,7 @@ impl Combiner {

binary_expression(
output_solution_mappings,
Operator::Multiply,
expr,
&left_context,
&right_context,
context,
Expand Down Expand Up @@ -486,7 +486,7 @@ impl Combiner {

binary_expression(
output_solution_mappings,
Operator::Divide,
expr,
&left_context,
&right_context,
context,
Expand Down
1 change: 1 addition & 0 deletions py_chrontext/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ dependencies = ["polars>=0.20.2",
"pandas",
"sqlalchemy>=2.0.31",
"sqlalchemy_bigquery==1.11.0",
"databricks-sqlalchemy==2.0.4",
"databricks-sql-connector>=3.3.0",
"pyoxigraph>=0.4.2"]
readme = "README.md"
Expand Down
10 changes: 0 additions & 10 deletions py_chrontext/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ use chrontext::engine::{Engine, EngineConfig};
use flight::client::ChrontextFlightClient;
use flight::server::ChrontextFlightServer;
use log::{debug, info};
use oxrdfio::RdfFormat;
use postgres::catalog::{Catalog, DataProduct};
use postgres::server::{start_server, Config};
use pydf_io::to_python::{df_to_py_df, fix_cats_and_multicolumns};
Expand Down Expand Up @@ -367,15 +366,6 @@ impl PyFlightClient {
}
}

fn resolve_format(format: &str) -> RdfFormat {
match format.to_lowercase().as_str() {
"ntriples" => RdfFormat::NTriples,
"turtle" => RdfFormat::Turtle,
"rdf/xml" | "xml" | "rdfxml" => RdfFormat::RdfXml,
_ => unimplemented!("Unknown format {}", format),
}
}

#[pyclass(name = "VirtualizedBigQueryDatabase")]
#[derive(Clone)]
pub struct PyVirtualizedBigQueryDatabase {
Expand Down

0 comments on commit de5837c

Please sign in to comment.