Description
Test case:
case class Data(a: Int, B: Int, n: Nested, nestedArray: Seq[Nested]) case class Nested(a: Int, B: Int) test("nested repeated resolution") { TestHive.sparkContext.parallelize(Data(1, 2, Nested(1,2), Seq(Nested(1,2))) :: Nil) .registerAsTable("nestedRepeatedTest") hql("SELECT nestedArray[0].a FROM nestedRepeatedTest").collect() }