Compare a column to a column from a lookup table #2451
Replies: 2 comments
-
This sounds like a task for my favourite qsv commands left-anti, left-semi, right-anti, right-semi (in this case I have created the most basic possible example. file fqdn.csv:
file pgg.csv:
command: result:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes of course, thank you.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Having no idea about
luau
I am currently struggling (related to #2450). I want to remove all records from one table (input) for which the primary key is same as the one from a second CSV (pgg) to later cat them together again.I can do a
qsv_loadcsv("pgg", "pgg.csv", "FQDN")
successfully (I think).Now how do I compare the first column of the input (helpfully also called FQDN (unique)), with all FQDN values of the pgg table (also unique) returning false if found?
Beta Was this translation helpful? Give feedback.
All reactions