Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with argument passed from mapping to query #130

Open
cax21 opened this issue Oct 13, 2021 · 0 comments
Open

problem with argument passed from mapping to query #130

cax21 opened this issue Oct 13, 2021 · 0 comments

Comments

@cax21
Copy link

cax21 commented Oct 13, 2021

hi,
i'm using 1.4.0 connector in distributed mode.
the goal is to map one key from a json event to a 3 columns table along with uuid and timestamp
i have a connector config as per below:

topic.<name>.<keyspace>.<table>.mapping : "id=now(), et=value.event_time"
topic.<name>.<keyspace>.<table>.query = "INSERT INTO keyspace.table (id, ct, et) VALUES (:id, totimestamp(now()), :et)

it works fine.
but if I change the query to :

topic.<name>.<keyspace>.<table>.query = "INSERT INTO keyspace.table (id, ct, et) VALUES (:id, totimestamp((timeuuid):id), :et)

it fails saying "there is a bug in the connector, please report"
hence this issue,
see log in attached picture.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant