packages feed

dataframe-arrow-bridge 1.1.0.0 → 1.1.0.1

raw patch · 2 files changed

+12/−12 lines, 2 filesdep ~dataframe-coredep ~dataframe-csvdep ~dataframe-expr-serializerPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: dataframe-core, dataframe-csv, dataframe-expr-serializer, dataframe-json, dataframe-lazy, dataframe-operations, dataframe-parquet

API changes (from Hackage documentation)

Files

dataframe-arrow-bridge.cabal view
@@ -1,6 +1,6 @@ cabal-version:      3.4 name:               dataframe-arrow-bridge-version:            1.1.0.0+version:            1.1.0.1 synopsis:           Arrow C Data Interface bridge and plan IR for the dataframe ecosystem.  description:@@ -48,13 +48,13 @@                         aeson >= 0.11 && < 3,                         bytestring >= 0.11 && < 0.14,                         containers >= 0.6.7 && < 0.10,-                        dataframe-core >= 2.6 && < 2.7,-                        dataframe-csv >= 2.3 && < 2.4,-                        dataframe-expr-serializer >= 1.3 && < 1.4,-                        dataframe-json >= 1.2.0.1 && < 1.3,-                        dataframe-lazy >= 2.4.1 && < 2.5,-                        dataframe-operations >= 2.6 && < 2.7,-                        dataframe-parquet >= 1.6 && < 1.7,+                        dataframe-core >= 2.7 && < 2.8,+                        dataframe-csv >= 2.3.2 && < 2.4,+                        dataframe-expr-serializer >= 1.4 && < 1.5,+                        dataframe-json >= 1.2.1 && < 1.3,+                        dataframe-lazy >= 2.5 && < 2.6,+                        dataframe-operations >= 2.7 && < 2.8,+                        dataframe-parquet >= 1.6.1 && < 1.7,                         dataframe-parsing >= 2.2 && < 2.3,                         text >= 2.1 && < 3,                         vector >= 0.13 && < 0.15
src/DataFrame/IR.hs view
@@ -58,7 +58,7 @@ import DataFrame.Operations.Join (JoinType (..), join) import DataFrame.Operations.Permutation (SortOrder (..), sortBy) import qualified DataFrame.Operations.Statistics as Stats-import DataFrame.Operations.Subset (exclude, filterWhere, range, select)+import DataFrame.Operations.Subset (exclude, range, select) import qualified DataFrame.Operations.Subset as Subset import DataFrame.Operations.Transformations (derive) import DataFrame.Schema (Schema, makeSchema, schemaType)@@ -176,7 +176,7 @@ executePlan reader (Filter predJson node) = do     df <- executePlan reader node     case decodeExprAt @Bool predJson of-        Right pred_ -> return $ filterWhere pred_ df+        Right pred_ -> return $ Subset.filter pred_ df         Left err -> ioError $ userError $ "DataFrame.IR.Filter: " <> err executePlan reader (Derive name exprJson node) = do     df <- executePlan reader node@@ -232,10 +232,10 @@     return df executePlan reader (ScanCsv path schemaPairs) = do     schema <- buildSchema schemaPairs-    Lazy.runDataFrame (Lazy.scanCsvWith reader schema (T.pack path))+    Lazy.run (Lazy.scanCsvWith reader schema (T.pack path)) executePlan _reader (ScanParquet path schemaPairs) = do     schema <- buildSchema schemaPairs-    Lazy.runDataFrame (Lazy.scanParquet schema (T.pack path))+    Lazy.run (Lazy.scanParquet schema (T.pack path))  -- | Build a SortOrder from a column's runtime type. mkSortOrder :: Bool -> T.Text -> Column -> SortOrder