Skip to content

Not able insert UDT field values. #18

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

Open
grylls opened this issue Jul 1, 2020 · 1 comment
Open

Not able insert UDT field values. #18

grylls opened this issue Jul 1, 2020 · 1 comment

Comments

@grylls
Copy link

grylls commented Jul 1, 2020

Describe the bug
A clear and concise description of what the bug is.
I was trying to insert in UDT field with frozen, but every time its throwing error.
To Reproduce
Steps to reproduce the behavior:

  1. Create a keyspace abc

  2. Create TYPE
    CREATE TYPE basic_info (
    birthday timestamp,
    nationality text,
    weight text,
    height text
    );

  3. Create table
    CREATE TABLE cycling.cyclist_stats (
    id uuid PRIMARY KEY,
    lastname text,
    basics FROZEN<basic_info>
    );

  4. INSERT INTO cyclist_stats (id, lastname, basics) VALUES (
    e7ae5cf3-d358-4d99-b900-85902fda9bb0,
    'FRAME',
    { birthday : '1993-06-18', nationality : 'New Zealand', weight : null, height : null }
    );

Expected behavior
It should get inserted because example is from datax.
Screenshots
NA

System info (please complete the following information):

  • OS: [e.g. iOS] Windows 10
  • Cassandra version - 4.0.0.670
  • vscode version - 1.36

Additional context
Add any other context about the problem here.

@pabloteari
Copy link

I observed the same thing. =/

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

2 participants