logoalt Hacker News

hahahahhaahyesterday at 8:06 AM1 replyview on HN

Whats a good place to see parallel arrays defined. I have no data lake expetience. Know how relational db works.


Replies

nurettinyesterday at 8:16 AM

I mean,

    Table1 = {"col1": [1,2,3]}
    Table2 = {"epiphany": [1,1,1]}
    for i, r in enumerate(Table1["col1"]):
      print(r, Table2["epiphany"][i])

He's really happy he found this (Edit: actually it seems like Chang She talked about this while discussing the Lance data format[1]@12:00 in 2024 at a conference calling it "the fourth way") and will represent this in a conference.

[1] https://youtu.be/9O2pfXkCDmU?si=IheQl6rAiB852elv

show 2 replies