slick.SlickTreeException: Cannot convert node to SQL Comprehension | Path s9._2 : Vector[t18<{s22: Boolean', s23: String'}>]

GitHub | tminglei | 4 months ago
  1. 0

    Aggregate in `GroupBy` don't allow parameters

    GitHub | 4 months ago | tminglei
    slick.SlickTreeException: Cannot convert node to SQL Comprehension | Path s9._2 : Vector[t18<{s22: Boolean', s23: String'}>]
  2. 0

    "Cannot convert node to SQL Comprehension" error when calling .length after groupBy + map

    GitHub | 1 year ago | gl-vanger
    slick.SlickTreeException: Cannot convert node to SQL Comprehension | GroupBy t9 : Vector[(t9<String'>, Vector[t17<{s18: String'}>])] | from s8: Bind : Vector[t17<{s18: String'}>] | from s13: Table test_query : Vector[@t11<{id: String'}>] | select: Pure t17 : Vector[t17<{s18: String'}>] | value: StructNode : {s18: String'} | s18: Path s13.id : String' | by: Path s8.s18 : String'
  3. 0

    Simple groupBy cannot be converted to SQL

    GitHub | 9 months ago | ksilin
    slick.SlickTreeException: Cannot convert node to SQL Comprehension | Path s9._2 : Vector[t12<{s14: String'}>]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Counting not null fields in slick-3.1.0-RC1

    GitHub | 1 year ago | mohittt8
    slick.SlickTreeException: Cannot convert node to SQL Comprehension Path s11._2 : Vector[t2<{s3: Option[String'], s4: Option[String'], s5: String', s6: Int', s7: Option[Int'], s8: Option[String'], s9: String', s10: SOption[OptionDisc/Int]}>]
  6. 0

    Query regression in 3.1.0.

    GitHub | 1 year ago | aloiscochard
    slick.SlickTreeException: Unreachable reference to s2 after resolving monadic joins [268/16123] | Join Inner : Vector[(@t18<{node_id: MappedJdbcType[com.bestmile.model.LocalGraph$Node$ID -> Long'], graph_id: MappedJdbcType[com.bestmile.model.LocalGraph$ID -> Long'], point: com.vi vidsolutions.jts.geom.Point', attributes: MappedJdbcType[scala.collection.immutable.List -> Array[byte]']}>, (@t19<{node_id: MappedJdbcType[com.bestmile.model.LocalGraph$Node$ID -> Long'], gr aph_id: MappedJdbcType[com.bestmile.model.LocalGraph$ID -> Long'], point: com.vividsolutions.jts.geom.Point', attributes: MappedJdbcType[scala.collection.immutable.List -> Array[byte]']}>, (@ t20<{points: com.vividsolutions.jts.geom.LineString', source: MappedJdbcType[com.bestmile.model.LocalGraph$Node$ID -> Long'], graph_id: MappedJdbcType[com.bestmile.model.LocalGraph$ID -> Long '], target: MappedJdbcType[com.bestmile.model.LocalGraph$Node$ID -> Long'], attributes: MappedJdbcType[scala.collection.immutable.List -> Array[byte]'], edge_id: MappedJdbcType[com.bestmile.m odel.LocalGraph$Edge$ID -> Long']}>, @t21<{points: com.vividsolutions.jts.geom.LineString', source: MappedJdbcType[com.bestmile.model.LocalGraph$Node$ID -> Long'], graph_id: MappedJdbcType[co m.bestmile.model.LocalGraph$ID -> Long'], target: MappedJdbcType[com.bestmile.model.LocalGraph$Node$ID -> Long'], attributes: MappedJdbcType[scala.collection.immutable.List -> Array[byte]'], edge_id: MappedJdbcType[com.bestmile.model.LocalGraph$Edge$ID -> Long']}>)))] | left s2: < Table > local_graph_nodes : Vector[@t18<{node_id: MappedJdbcType[com.bestmile.model.LocalGraph$Node$ID -> Long'], graph_id: MappedJdbcType[com.bestmile.model.LocalGraph$ ID -> Long'], point: com.vividsolutions.jts.geom.Point', attributes: MappedJdbcType[scala.collection.immutable.List -> Array[byte]']}>] | right s17: Join Inner : Vector[(@t19<{node_id: MappedJdbcType[com.bestmile.model.LocalGraph$Node$ID -> Long'], graph_id: MappedJdbcType[com.bestmile.model.LocalGraph$ID -> Long'], point: com.vividsolutions.jts.geom.Point', attributes: MappedJdbcType[scala.collection.immutable.List -> Array[byte]']}>, (@t20<{points: com.vividsolutions.jts.geom.LineString', source: Mappe dJdbcType[com.bestmile.model.LocalGraph$Node$ID -> Long'], graph_id: MappedJdbcType[com.bestmile.model.LocalGraph$ID -> Long'], target: MappedJdbcType[com.bestmile.model.LocalGraph$Node$ID -> Long'], attributes: MappedJdbcType[scala.collection.immutable.List -> Array[byte]'], edge_id: MappedJdbcType[com.bestmile.model.LocalGraph$Edge$ID -> Long']}>, @t21<{points: com.vividsolutio ns.jts.geom.LineString', source: MappedJdbcType[com.bestmile.model.LocalGraph$Node$ID -> Long'], graph_id: MappedJdbcType[com.bestmile.model.LocalGraph$ID -> Long'], target: MappedJdbcType[co m.bestmile.model.LocalGraph$Node$ID -> Long'], attributes: MappedJdbcType[scala.collection.immutable.List -> Array[byte]'], edge_id: MappedJdbcType[com.bestmile.model.LocalGraph$Edge$ID -> Lo ng']}>))] | left s22: Table local_graph_nodes : Vector[@t19<{node_id: MappedJdbcType[com.bestmile.model.LocalGraph$Node$ID -> Long'], graph_id: MappedJdbcType[com.bestmile.model.LocalGraph$I D -> Long'], point: com.vividsolutions.jts.geom.Point', attributes: MappedJdbcType[scala.collection.immutable.List -> Array[byte]']}>] | right s23: Join Inner : Vector[(@t20<{points: com.vividsolutions.jts.geom.LineString', source: MappedJdbcType[com.bestmile.model.LocalGraph$Node$ID -> Long'], graph_id: MappedJdb cType[com.bestmile.model.LocalGraph$ID -> Long'], target: MappedJdbcType[com.bestmile.model.LocalGraph$Node$ID -> Long'], attributes: MappedJdbcType[scala.collection.immutable.List -> Array[b yte]'], edge_id: MappedJdbcType[com.bestmile.model.LocalGraph$Edge$ID -> Long']}>, @t21<{points: com.vividsolutions.jts.geom.LineString', source: MappedJdbcType[com.bestmile.model.LocalGraph$ Node$ID -> Long'], graph_id: MappedJdbcType[com.bestmile.model.LocalGraph$ID -> Long'], target: MappedJdbcType[com.bestmile.model.LocalGraph$Node$ID -> Long'], attributes: MappedJdbcType[scal a.collection.immutable.List -> Array[byte]'], edge_id: MappedJdbcType[com.bestmile.model.LocalGraph$Edge$ID -> Long']}>)] | left s24: Table local_graph_edges : Vector[@t20<{points: com.vividsolutions.jts.geom.LineString', source: MappedJdbcType[com.bestmile.model.LocalGraph$Node$ID -> Long'], graph_ id: MappedJdbcType[com.bestmile.model.LocalGraph$ID -> Long'], target: MappedJdbcType[com.bestmile.model.LocalGraph$Node$ID -> Long'], attributes: MappedJdbcType[scala.collection.immutable.Li st -> Array[byte]'], edge_id: MappedJdbcType[com.bestmile.model.LocalGraph$Edge$ID -> Long']}>] | right s25: Table local_graph_edges : Vector[@t21<{points: com.vividsolutions.jts.geom.LineString', source: MappedJdbcType[com.bestmile.model.LocalGraph$Node$ID -> Long'], graph _id: MappedJdbcType[com.bestmile.model.LocalGraph$ID -> Long'], target: MappedJdbcType[com.bestmile.model.LocalGraph$Node$ID -> Long'], attributes: MappedJdbcType[scala.collection.immutable.L ist -> Array[byte]'], edge_id: MappedJdbcType[com.bestmile.model.LocalGraph$Edge$ID -> Long']}>] | on: Apply Function and : Boolean | 0: Apply Function = : Boolean | 0: Path s24.source : MappedJdbcType[com.bestmile.model.LocalGraph$Node$ID -> Long'] | 1: < Path > s2.node_id : MappedJdbcType[com.bestmile.model.LocalGraph$Node$ID -> Long'] | 1: Apply Function = : Boolean | 0: Path s25.target : MappedJdbcType[com.bestmile.model.LocalGraph$Node$ID -> Long'] | 1: Path s2.node_id : MappedJdbcType[com.bestmile.model.LocalGraph$Node$ID -> Long'] | on: Apply Function and : Boolean | 0: Apply Function and : Boolean | 0: Apply Function in : Boolean | 0: Path s22.node_id : MappedJdbcType[com.bestmile.model.LocalGraph$Node$ID -> Long'] | 1: ProductNode : (MappedJdbcType[com.bestmile.model.LocalGraph$Node$ID -> Long'], MappedJdbcType[com.bestmile.model.LocalGraph$Node$ID -> Long'], MappedJdbcType[com.bestmil e.model.LocalGraph$Node$ID -> Long']) | 1: LiteralNode ID(36) (volatileHint=false) : MappedJdbcType[com.bestmile.model.LocalGraph$Node$ID -> Long'] | 2: LiteralNode ID(30) (volatileHint=false) : MappedJdbcType[com.bestmile.model.LocalGraph$Node$ID -> Long'] | 3: LiteralNode ID(26) (volatileHint=false) : MappedJdbcType[com.bestmile.model.LocalGraph$Node$ID -> Long'] | 1: Apply Function = : Boolean | 0: Path s23._1.target : MappedJdbcType[com.bestmile.model.LocalGraph$Node$ID -> Long'] | 1: Path s22.node_id : MappedJdbcType[com.bestmile.model.LocalGraph$Node$ID -> Long'] | 1: Apply Function = : Boolean | 0: Path s23._2.source : MappedJdbcType[com.bestmile.model.LocalGraph$Node$ID -> Long'] | 1: Path s22.node_id : MappedJdbcType[com.bestmile.model.LocalGraph$Node$ID -> Long'] | on: Apply Function and : Boolean | 0: Apply Function in : Boolean | 0: Path s2.node_id : MappedJdbcType[com.bestmile.model.LocalGraph$Node$ID -> Long'] | 1: ProductNode : (MappedJdbcType[com.bestmile.model.LocalGraph$Node$ID -> Long'], MappedJdbcType[com.bestmile.model.LocalGraph$Node$ID -> Long'], MappedJdbcType[com.bestmile.mo del.LocalGraph$Node$ID -> Long']) | 1: LiteralNode ID(36) (volatileHint=false) : MappedJdbcType[com.bestmile.model.LocalGraph$Node$ID -> Long'] | 2: LiteralNode ID(30) (volatileHint=false) : MappedJdbcType[com.bestmile.model.LocalGraph$Node$ID -> Long'] | 3: LiteralNode ID(26) (volatileHint=false) : MappedJdbcType[com.bestmile.model.LocalGraph$Node$ID -> Long'] | 1: LiteralNode true (volatileHint=false) : Boolean

  1. silex 6 times, last 2 weeks ago

Root Cause Analysis

  1. slick.SlickTreeException

    Cannot convert node to SQL Comprehension | Path s9._2 : Vector[t18<{s22: Boolean', s23: String'}>]

    at slick.compiler.MergeToComprehensions$$anonfun$26.apply()
  2. slick.compiler
    MergeToComprehensions$$anonfun$26.apply
    1. slick.compiler.MergeToComprehensions$$anonfun$26.apply(MergeToComprehensions.scala:174)
    2. slick.compiler.MergeToComprehensions$$anonfun$26.apply(MergeToComprehensions.scala:174)
    2 frames
  3. Scala
    Option.getOrElse
    1. scala.Option.getOrElse(Option.scala:121)
    1 frame
  4. slick.compiler
    MergeToComprehensions$$anonfun$slick$compiler$MergeToComprehensions$$createSourceOrTopLevel$1$1.apply
    1. slick.compiler.MergeToComprehensions.slick$compiler$MergeToComprehensions$$convertBase$1(MergeToComprehensions.scala:174)
    2. slick.compiler.MergeToComprehensions$$anonfun$slick$compiler$MergeToComprehensions$$mergeFilterWhere$1$2.apply(MergeToComprehensions.scala:168)
    3. slick.compiler.MergeToComprehensions$$anonfun$slick$compiler$MergeToComprehensions$$mergeFilterWhere$1$2.apply(MergeToComprehensions.scala:168)
    4. slick.compiler.MergeToComprehensions.mergeCommon(MergeToComprehensions.scala:351)
    5. slick.compiler.MergeToComprehensions.slick$compiler$MergeToComprehensions$$mergeFilterWhere$1(MergeToComprehensions.scala:168)
    6. slick.compiler.MergeToComprehensions.slick$compiler$MergeToComprehensions$$mergeGroupBy$1(MergeToComprehensions.scala:163)
    7. slick.compiler.MergeToComprehensions$$anonfun$slick$compiler$MergeToComprehensions$$mergeSortBy$1$14.apply(MergeToComprehensions.scala:103)
    8. slick.compiler.MergeToComprehensions$$anonfun$slick$compiler$MergeToComprehensions$$mergeSortBy$1$14.apply(MergeToComprehensions.scala:103)
    9. slick.compiler.MergeToComprehensions.mergeCommon(MergeToComprehensions.scala:351)
    10. slick.compiler.MergeToComprehensions.slick$compiler$MergeToComprehensions$$mergeSortBy$1(MergeToComprehensions.scala:103)
    11. slick.compiler.MergeToComprehensions$$anonfun$slick$compiler$MergeToComprehensions$$mergeTakeDrop$1$10.apply(MergeToComprehensions.scala:68)
    12. slick.compiler.MergeToComprehensions$$anonfun$slick$compiler$MergeToComprehensions$$mergeTakeDrop$1$10.apply(MergeToComprehensions.scala:68)
    13. slick.compiler.MergeToComprehensions.mergeCommon(MergeToComprehensions.scala:351)
    14. slick.compiler.MergeToComprehensions.slick$compiler$MergeToComprehensions$$mergeTakeDrop$1(MergeToComprehensions.scala:68)
    15. slick.compiler.MergeToComprehensions.slick$compiler$MergeToComprehensions$$createTopLevel$1(MergeToComprehensions.scala:260)
    16. slick.compiler.MergeToComprehensions$$anonfun$slick$compiler$MergeToComprehensions$$createSourceOrTopLevel$1$1.apply(MergeToComprehensions.scala:243)
    17. slick.compiler.MergeToComprehensions$$anonfun$slick$compiler$MergeToComprehensions$$createSourceOrTopLevel$1$1.apply(MergeToComprehensions.scala:241)
    17 frames
  5. Scala
    Option.getOrElse
    1. scala.Option.getOrElse(Option.scala:121)
    1 frame
  6. slick.compiler
    MergeToComprehensions$$anonfun$slick$compiler$MergeToComprehensions$$convert1$1$6.apply
    1. slick.compiler.MergeToComprehensions.slick$compiler$MergeToComprehensions$$createSourceOrTopLevel$1(MergeToComprehensions.scala:241)
    2. slick.compiler.MergeToComprehensions.slick$compiler$MergeToComprehensions$$convertBase$1(MergeToComprehensions.scala:173)
    3. slick.compiler.MergeToComprehensions$$anonfun$slick$compiler$MergeToComprehensions$$mergeFilterWhere$1$2.apply(MergeToComprehensions.scala:168)
    4. slick.compiler.MergeToComprehensions$$anonfun$slick$compiler$MergeToComprehensions$$mergeFilterWhere$1$2.apply(MergeToComprehensions.scala:168)
    5. slick.compiler.MergeToComprehensions.mergeCommon(MergeToComprehensions.scala:351)
    6. slick.compiler.MergeToComprehensions.slick$compiler$MergeToComprehensions$$mergeFilterWhere$1(MergeToComprehensions.scala:168)
    7. slick.compiler.MergeToComprehensions.slick$compiler$MergeToComprehensions$$mergeGroupBy$1(MergeToComprehensions.scala:163)
    8. slick.compiler.MergeToComprehensions$$anonfun$slick$compiler$MergeToComprehensions$$mergeSortBy$1$14.apply(MergeToComprehensions.scala:103)
    9. slick.compiler.MergeToComprehensions$$anonfun$slick$compiler$MergeToComprehensions$$mergeSortBy$1$14.apply(MergeToComprehensions.scala:103)
    10. slick.compiler.MergeToComprehensions.mergeCommon(MergeToComprehensions.scala:351)
    11. slick.compiler.MergeToComprehensions.slick$compiler$MergeToComprehensions$$mergeSortBy$1(MergeToComprehensions.scala:103)
    12. slick.compiler.MergeToComprehensions$$anonfun$slick$compiler$MergeToComprehensions$$mergeTakeDrop$1$10.apply(MergeToComprehensions.scala:68)
    13. slick.compiler.MergeToComprehensions$$anonfun$slick$compiler$MergeToComprehensions$$mergeTakeDrop$1$10.apply(MergeToComprehensions.scala:68)
    14. slick.compiler.MergeToComprehensions.mergeCommon(MergeToComprehensions.scala:351)
    15. slick.compiler.MergeToComprehensions.slick$compiler$MergeToComprehensions$$mergeTakeDrop$1(MergeToComprehensions.scala:68)
    16. slick.compiler.MergeToComprehensions$$anonfun$slick$compiler$MergeToComprehensions$$mergeTakeDrop$1$9.apply(MergeToComprehensions.scala:68)
    17. slick.compiler.MergeToComprehensions$$anonfun$slick$compiler$MergeToComprehensions$$mergeTakeDrop$1$9.apply(MergeToComprehensions.scala:68)
    18. slick.compiler.MergeToComprehensions.mergeCommon(MergeToComprehensions.scala:326)
    19. slick.compiler.MergeToComprehensions.slick$compiler$MergeToComprehensions$$mergeTakeDrop$1(MergeToComprehensions.scala:68)
    20. slick.compiler.MergeToComprehensions.slick$compiler$MergeToComprehensions$$createTopLevel$1(MergeToComprehensions.scala:260)
    21. slick.compiler.MergeToComprehensions.slick$compiler$MergeToComprehensions$$convert1$1(MergeToComprehensions.scala:276)
    22. slick.compiler.MergeToComprehensions$$anonfun$slick$compiler$MergeToComprehensions$$convert1$1$6.apply(MergeToComprehensions.scala:287)
    23. slick.compiler.MergeToComprehensions$$anonfun$slick$compiler$MergeToComprehensions$$convert1$1$6.apply(MergeToComprehensions.scala:287)
    23 frames
  7. slick.util
    ConstArray.endoMap
    1. slick.util.ConstArray.endoMap(ConstArray.scala:122)
    1 frame
  8. slick.ast
    Apply.mapChildren
    1. slick.ast.Node$class.mapChildren(Node.scala:51)
    2. slick.ast.Apply.mapChildren(Node.scala:547)
    2 frames
  9. slick.compiler
    MergeToComprehensions$$anonfun$slick$compiler$MergeToComprehensions$$convert1$1$6.apply
    1. slick.compiler.MergeToComprehensions.slick$compiler$MergeToComprehensions$$convert1$1(MergeToComprehensions.scala:287)
    2. slick.compiler.MergeToComprehensions$$anonfun$slick$compiler$MergeToComprehensions$$convert1$1$6.apply(MergeToComprehensions.scala:287)
    3. slick.compiler.MergeToComprehensions$$anonfun$slick$compiler$MergeToComprehensions$$convert1$1$6.apply(MergeToComprehensions.scala:287)
    3 frames
  10. slick.util
    ConstArray.endoMap
    1. slick.util.ConstArray.endoMap(ConstArray.scala:122)
    1 frame
  11. slick.ast
    StructNode.mapChildren
    1. slick.ast.Node$class.mapChildren(Node.scala:51)
    2. slick.ast.StructNode.mapChildren(Node.scala:151)
    2 frames
  12. slick.compiler
    MergeToComprehensions$$anonfun$slick$compiler$MergeToComprehensions$$convertOnlyInScalar$1$1.apply
    1. slick.compiler.MergeToComprehensions.slick$compiler$MergeToComprehensions$$convert1$1(MergeToComprehensions.scala:287)
    2. slick.compiler.MergeToComprehensions.slick$compiler$MergeToComprehensions$$convertOnlyInScalar$1(MergeToComprehensions.scala:293)
    3. slick.compiler.MergeToComprehensions$$anonfun$slick$compiler$MergeToComprehensions$$convertOnlyInScalar$1$1.apply(MergeToComprehensions.scala:292)
    4. slick.compiler.MergeToComprehensions$$anonfun$slick$compiler$MergeToComprehensions$$convertOnlyInScalar$1$1.apply(MergeToComprehensions.scala:292)
    4 frames
  13. slick.ast
    Pure.mapChildren
    1. slick.ast.UnaryNode$class.mapChildren(Node.scala:224)
    2. slick.ast.Pure.mapChildren(Node.scala:243)
    2 frames
  14. slick.compiler
    MergeToComprehensions$$anonfun$slick$compiler$MergeToComprehensions$$convertOnlyInScalar$1$1.apply
    1. slick.compiler.MergeToComprehensions.slick$compiler$MergeToComprehensions$$convertOnlyInScalar$1(MergeToComprehensions.scala:292)
    2. slick.compiler.MergeToComprehensions$$anonfun$slick$compiler$MergeToComprehensions$$convertOnlyInScalar$1$1.apply(MergeToComprehensions.scala:292)
    3. slick.compiler.MergeToComprehensions$$anonfun$slick$compiler$MergeToComprehensions$$convertOnlyInScalar$1$1.apply(MergeToComprehensions.scala:292)
    3 frames
  15. slick.util
    ConstArray.endoMap
    1. slick.util.ConstArray.endoMap(ConstArray.scala:122)
    1 frame
  16. slick.ast
    Comprehension.mapChildren
    1. slick.ast.Node$class.mapChildren(Node.scala:51)
    2. slick.ast.Comprehension.mapChildren(Comprehension.scala:8)
    2 frames
  17. slick.compiler
    MergeToComprehensions$$anonfun$apply$1$$anonfun$15.apply
    1. slick.compiler.MergeToComprehensions.slick$compiler$MergeToComprehensions$$convertOnlyInScalar$1(MergeToComprehensions.scala:292)
    2. slick.compiler.MergeToComprehensions.slick$compiler$MergeToComprehensions$$convert1$1(MergeToComprehensions.scala:276)
    3. slick.compiler.MergeToComprehensions.convert(MergeToComprehensions.scala:296)
    4. slick.compiler.MergeToComprehensions$$anonfun$apply$1$$anonfun$15.apply(MergeToComprehensions.scala:29)
    5. slick.compiler.MergeToComprehensions$$anonfun$apply$1$$anonfun$15.apply(MergeToComprehensions.scala:28)
    5 frames
  18. slick.ast
    ClientSideOp$.mapResultSetMapping
    1. slick.ast.ClientSideOp$.mapResultSetMapping(ClientSideOp.scala:24)
    1 frame
  19. slick.compiler
    QueryCompiler$$anonfun$runPhase$1.apply
    1. slick.compiler.MergeToComprehensions$$anonfun$apply$1.apply(MergeToComprehensions.scala:28)
    2. slick.compiler.MergeToComprehensions$$anonfun$apply$1.apply(MergeToComprehensions.scala:28)
    3. slick.compiler.CompilerState.map(QueryCompiler.scala:228)
    4. slick.compiler.MergeToComprehensions.apply(MergeToComprehensions.scala:28)
    5. slick.compiler.QueryCompiler$$anonfun$runPhase$1.apply(QueryCompiler.scala:79)
    6. slick.compiler.QueryCompiler$$anonfun$runPhase$1.apply(QueryCompiler.scala:78)
    6 frames
  20. Scala
    DynamicVariable.withValue
    1. scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    1 frame
  21. slick.ast
    SymbolNamer.use
    1. slick.ast.SymbolNamer.use(Symbol.scala:112)
    1 frame
  22. slick.compiler
    QueryCompiler$$anonfun$3.apply
    1. slick.compiler.QueryCompiler.runPhase(QueryCompiler.scala:78)
    2. slick.compiler.QueryCompiler$$anonfun$3.apply(QueryCompiler.scala:65)
    3. slick.compiler.QueryCompiler$$anonfun$3.apply(QueryCompiler.scala:63)
    3 frames
  23. Scala
    AbstractIterator.foldLeft
    1. scala.collection.TraversableOnce$$anonfun$foldLeft$1.apply(TraversableOnce.scala:157)
    2. scala.collection.TraversableOnce$$anonfun$foldLeft$1.apply(TraversableOnce.scala:157)
    3. scala.collection.Iterator$class.foreach(Iterator.scala:893)
    4. scala.collection.AbstractIterator.foreach(Iterator.scala:1336)
    5. scala.collection.TraversableOnce$class.foldLeft(TraversableOnce.scala:157)
    6. scala.collection.AbstractIterator.foldLeft(Iterator.scala:1336)
    6 frames
  24. slick.compiler
    QueryCompiler.run
    1. slick.compiler.QueryCompiler.runPhases(QueryCompiler.scala:63)
    2. slick.compiler.QueryCompiler.run(QueryCompiler.scala:53)
    3. slick.compiler.QueryCompiler.run(QueryCompiler.scala:47)
    3 frames
  25. slick.basic
    BasicProfile$API$class.streamableQueryActionExtensionMethods
    1. slick.basic.BasicProfile$API$class.streamableQueryActionExtensionMethods(BasicProfile.scala:59)
    1 frame
  26. slick.jdbc
    JdbcProfile$$anon$1.streamableQueryActionExtensionMethods
    1. slick.jdbc.JdbcProfile$$anon$1.streamableQueryActionExtensionMethods(JdbcProfile.scala:67)
    1 frame
  27. com.github.tminglei
    AggFuncErrorDemo.main
    1. com.github.tminglei.slickpg.AggFuncErrorDemo$.main(AggFuncErrorDemo.scala:40)
    2. com.github.tminglei.slickpg.AggFuncErrorDemo.main(AggFuncErrorDemo.scala)
    2 frames
  28. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  29. IDEA
    AppMain.main
    1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
    1 frame