vscode-cassandra icon indicating copy to clipboard operation
vscode-cassandra copied to clipboard

Not able insert UDT field values.

Open grylls opened this issue 5 years ago • 1 comments

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.

grylls avatar Jul 01 '20 18:07 grylls

I observed the same thing. =/

pabloteari avatar Aug 08 '20 23:08 pabloteari