Hisoka-X commented on PR #3047:
URL: 
https://github.com/apache/incubator-seatunnel/pull/3047#issuecomment-1280944018

   > 
![image](https://user-images.githubusercontent.com/58908699/196144141-2c993a85-b48a-4388-aa13-157283a26067.png)
 I want to use **_fieldType_** in the injectFunction to determine what type to 
use. How can I get it? In other words, there is no public method to obtain the 
SeatunnelRow metadata At present, I think of a way to add a parameter to the 
**_injectFields method_** of the **_ClickhouseFieldInjectFunction interface_**. 
Is there a better way?
   
   You can just add a parameter in `ArrayInjectFunction` contructer. But if you 
do that, you should make sure two different array field can't use same 
`ArrayInjectFunction` instance like now.


-- 
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