AjayBoddeda4 commented on issue #676:
URL: https://github.com/apache/wayang/issues/676#issuecomment-4088056314

   Hi, I am Ajay Boddeda, a GSoC 2026 applicant working on the DataFrames API 
proposal for Apache Wayang.
   This issue is directly relevant to my proposal. The DataFrame API I am 
designing will need to support type casting operations — for example when users 
do df.select() with columns of different types, or when filtering with 
expressions that involve type comparisons.
   The current CAST implementation handles Number types by widening to Double, 
but a more robust solution would need to handle all SQL types cleanly — 
especially when the DataFrame API starts routing operations through the Calcite 
optimizer.
   A proper type casting system could leverage the Schema class I am planning 
to implement, which maps column names to their types. This would allow the CAST 
operation to use the Schema's type information rather than relying on 
instanceof checks.
   Would love to contribute to improving this as part of the broader DataFrame 
API work.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to