etymology / backend /sql /ingestion /03_create_links.sql
lucharo's picture
Luis Chaves Rodriguez
Super-squash branch 'main' using huggingface_hub
13812dc
Raw History Blame Contribute Delete
229 Bytes
CREATE TABLE links AS
SELECT
type,
source::BIGINT AS source,
target::BIGINT AS target
FROM read_csv_auto(?, delim='\t', header=false, columns={
'type': 'VARCHAR',
'source': 'BIGINT',
'target': 'BIGINT'
})