Apache Cassandra - Tutorial 11 - CQL - UUIDs and Counters

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 พ.ย. 2024

ความคิดเห็น • 11

  • @hishailesh77
    @hishailesh77 3 ปีที่แล้ว

    Great tutorial series !.

  • @henryting6891
    @henryting6891 8 หลายเดือนก่อน

    hi
    how can i select column by id that type is UUID
    thanks

  • @SpiritOfIndiaaa
    @SpiritOfIndiaaa 5 ปีที่แล้ว

    thank you , I have a table emp( emp_id counter, emp_name text) in Dev env where has data , now I need to copy that data into another SIT env emp( emp_id counter, emp_name text) , will it copy counter fields properly ?

  • @nasrihaithem9529
    @nasrihaithem9529 3 ปีที่แล้ว

    i admit i was concentrated in this video so i may missed something
    my question is, what is the difference btw int and counter then ? i cannot increment an int ? i assumed so because we were able to add values to a collection phones = phones + {..}, we cannot use something like age = age +1 if age is int ?

  • @katiekametz
    @katiekametz 2 ปีที่แล้ว

    Is there any way to update a row where I don't have to manually type the UUID (aka primary key)? Is there any way for me to "get" the uuid from a row and use it in my update that way?

  • @alanrodriguez354
    @alanrodriguez354 3 ปีที่แล้ว +1

    07:37 - Counters

  • @SpiritOfIndiaaa
    @SpiritOfIndiaaa 5 ปีที่แล้ว

    Why cant I user counter as PRIMARY KEY in my C* table like this counter_temp(id counter primary key , comment text);

    • @neighborsj
      @neighborsj 4 ปีที่แล้ว

      "They cannot be used for columns part of the PRIMARY KEY of a table.
      A table that contains a counter can only contain counters. In other words, either all the columns of a table outside the PRIMARY KEY have the counter type, or none of them have it." - cassandra.apache.org/doc/latest/cql/types.html#counters

  • @Bruh-jw2ze
    @Bruh-jw2ze 4 ปีที่แล้ว

    Which school did u go to ?
    It's "purchase" not purchace 🤣
    JK, Great content bruh 💯

    • @jumpstartCS
      @jumpstartCS  4 ปีที่แล้ว +4

      Educated on the streets bruh

    • @Bruh-jw2ze
      @Bruh-jw2ze 4 ปีที่แล้ว

      @@jumpstartCS thats y u good at selling, not purchacing 💥🤝