Skip to content

problem with argument passed from mapping to query #130

Description

@cax21

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions