nicoloboschi opened a new pull request #13866:
URL: https://github.com/apache/pulsar/pull/13866


   ### Motivation
   
   Currently there is no support for CQL types in ElasticSearch sink when using 
Avro schema to parse data. 
   
   ### Modifications
   Added two [CQL field 
types](https://cassandra.apache.org/doc/latest/cassandra/cql/types.html) to 
handle simple numeric cases 
   
   * Added 'cql_varint'. It accepts BYTES and then it convert the value to a 
BigDecimal
   * Added 'cql_decimal'. It accepts a Avro generic record with 'bigint' and 
'scale' fields. then it convert the whole record to a BigDecimal
   
   ### Documentation
   
   - [x] `no-need-doc` 
     The elastic-search sink doc does not refer to the supported logical types. 
It would be useful but it requires a dedicated pull


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