orchestracities / ngsi-timeseries-api

QuantumLeap: a FIWARE Generic Enabler to support the usage of NGSIv2 (and NGSI-LD experimentally) data in time-series databases
https://quantumleap.rtfd.io/
MIT License
37 stars 49 forks source link

Resolve TODO in crate-exporter.py #702

Closed pooja1pathak closed 2 months ago

pooja1pathak commented 1 year ago

Resolve TODO at: https://github.com/orchestracities/ngsi-timeseries-api/blob/af8877cd2b5909c67819d8a93e3b58bce6a61fdb/timescale-container/crate-exporter.py#L76

pooja1pathak commented 2 months ago

@c0c0n3 I have gone through your comment on #704. Can we go with the implementation as in https://github.com/orchestracities/ngsi-timeseries-api/blob/270a4e266f2747b351ab6754d96bad205c0923a8/timescale-container/quantumleap-db-setup.py#L173 for escaping? Please let me know your opinion on this so I can raise a fresh PR.

c0c0n3 commented 2 months ago

@pooja1pathak yes, good idea! I'd drop #704 and start from scratch w/ the approach you suggested.