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

chapter 4 Cassandra DB: no data stored in table tacos #19

Open
lilyhe123 opened this issue Oct 6, 2023 · 1 comment
Open

chapter 4 Cassandra DB: no data stored in table tacos #19

lilyhe123 opened this issue Oct 6, 2023 · 1 comment

Comments

@lilyhe123
Copy link

lilyhe123 commented Oct 6, 2023

After submitting an order via UI, I checked data in Cassandra via cqlsh. Taco information is stored in table orders in json but no data stored in table tacos. It's different from what described in the book.

cqlsh:taco_cloud> select id, tacos from orders;

 id                                   | tacos
--------------------------------------+-------------------------------------------------------------------------------------------------------------------
 2f09eca0-6468-11ee-b2c3-5d2ec40b06dd | [{ingredients: [{name: 'Corn Tortilla', type: 'WRAP'}, {name: 'Cheddar', type: 'CHEESE'}], name: 'lily''s taco'}]

(1 rows)

cqlsh:taco_cloud> select * from tacos;

 id | createdat | ingredients | name
----+-----------+-------------+------

(0 rows)
@lilyhe123
Copy link
Author

PR #20 suppose to fix this.

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