Closed chhetripradeep closed 2 years ago
Thanks for the suggested changes!
I have some thoughts on how we can save compatibility:
When we create a connector, we can trim the prefix if the given address starts with tcp://
.
When we insert/select data, can we cast span duration to uint64 and leave the old type in the DB scheme? It seems logically OK for me that the duration of a span is a positive number... But I'm not very familiar with the specifics of Jaeger.
Hi @lodthe
Thank you so much for the review.
When we create a connector, we can trim the prefix if the given address starts with tcp://.
I was also thinking along the same lines. Great, I will make this change.
When we insert/select data, can we cast span duration to uint64 and leave the old type in the DB scheme.
I was trying to make it work like this but somehow wasn't able to get it working. I will spend more time to see if we can achieve it.
Best Regards.
Hi @lodthe
Thank you for the feedbacks earlier. Both of the concerns are now resolved and changes are now fully backward incompatible. Would love to have your review again.
Thank you for the feedback. Updated the PR as per your suggestions.
Hi @nickbp
Will be great to have your review. Thank you!
Oh whoops didn't realize this was waiting on me. It looks great, also thanks for tidying up the imports and the CLose
Signed-off-by: Pradeep Chhetri pradeepchhetri4444@gmail.com
Which problem is this PR solving?
Resolves https://github.com/jaegertracing/jaeger-clickhouse/issues/113
Short description of the changes
This change will give good performance gain.