Hi All, Please help with below question,
I am trying to build my own data source to connect to CustomAerospike. Now I am almost done with everything, but still not sure how to implement Projection Pushdown while selecting nested columns. Spark does implicit for column projection pushdown, but looks like nested projection pushdown needs custom implementation. I would like to know if there is a way i can do it myself and any code pointer would be helpful. Currently even though i try to select("col1.nested2") projection pushdown is considering using col1, but does not help in picking col1.nested2. My plan is to create custom projection push down by implementing a method in compute that does pull specific column.nestedcol and converts it to Row. My problem in doing so is I am unable to access the nestedcolumn i am passing in select using my data source. In my relation class i am only getting col1 and i need a way to be able to access the nested2 col that is provided in select query. Regards.