how-query-engines-work icon indicating copy to clipboard operation
how-query-engines-work copied to clipboard

This is the companion repository for the book How Query Engines Work.

Results 5 how-query-engines-work issues
Sort by recently updated
recently updated
newest added

An example under https://howqueryengineswork.com/05-logical-plan.html#math-expressions has a small typo, it should be `name` instead of `"mult"` ``` override fun toField(input: LogicalPlan): Field { return Field("mult", l.toField(input).dataType) } ```

If the sql where statement contains (), an error will occur in SqlParser , eg : " select a from t where (a=1 or b = 2) and c =3...

To cement my understanding of the book, I'm working through it a second time, this time changing the implementation from using Arrow vectors + types (columnar) to row-based data (`Map`)...

https://github.com/andygrove/how-query-engines-work/blob/9c27d475b62e3a4eccec4236e2fe60eb3f13e757/jvm/query-planner/src/main/kotlin/QueryPlanner.kt#L62 ![image](https://user-images.githubusercontent.com/26604994/159565496-f71fbfe0-a786-4efd-b15e-c58f64bae205.png)

I'm trying to use the engine from Scala. Pretty simple setup. Using example parquet file from testdata folder. Code looks like this: ``` val ctx = new ExecutionContext(Map.empty[String,String].asJava) val pqtSource...