-
Notifications
You must be signed in to change notification settings - Fork 8
Conversation
jcjimenez
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I propose we move the CREATE statements instead of the DROP ones, what do you think?
| ); | ||
|
|
||
| DROP TABLE IF EXISTS events; | ||
| DROP TYPE IF EXISTS features; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These drop statements need to be here. If you put them next to their CREATE TABLE counterparts, the DROP TABLE of their referencing table(s) will fail. For instance, the DROP TABLE features will fail if we don't re-arrange the order in which it's dependency tables are added.
Having said that, I agree that having three seemingly-random DROP TABLE statements together looks weird. Can I suggest we move the CREATE TABLE AND CREATE TYPE statements instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, moved everything together in f9c7fdc. Ran it against cqlsh and seems to work.
erikschlegel
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Delete CassandraEventsSink.scala.orig
* Fixing a bug related to selected topic and timeseries * Drawing blue Bounding Box around Selected Place * Fixing targeted place issue * Added trusted sources search control * modified service name * Fixed a variety of various bugs and highlighting detected place(s) * Fixing feature selection bug * Fixing stream filter issues * Add category filter to dashboard site * Add category filter to dashboard site * Add category filter to dashboard site * Add category filter to dashboard site * Adding source display name parser * Final round of unit testing changes for a variety of bug fixes * Final round of unit testing changes for a variety of bug fixes * Removing yellow font color * Fixed admin location editor * Fixed admin location editor
No functional change.