-- DBMS: snowflake
create or replace TABLE PER_SAMPLE_FILE_METADATA_HG38_GDC_R31 (
	"file_gdc_id" VARCHAR(16777216),
	"case_gdc_id" VARCHAR(16777216),
	"case_barcode" VARCHAR(16777216),
	"sample_gdc_id" VARCHAR(16777216),
	"sample_barcode" VARCHAR(16777216),
	"sample_type_name" VARCHAR(16777216),
	"project_short_name" VARCHAR(16777216),
	"project_short_name_suffix" VARCHAR(16777216),
	"program_name" VARCHAR(16777216),
	"data_type" VARCHAR(16777216),
	"data_category" VARCHAR(16777216),
	"experimental_strategy" VARCHAR(16777216),
	"file_type" VARCHAR(16777216),
	"file_size" NUMBER(38,0),
	"data_format" VARCHAR(16777216),
	"platform" VARCHAR(16777216),
	"file_name_key" VARCHAR(16777216),
	"index_file_id" VARCHAR(16777216),
	"index_file_name_key" VARCHAR(16777216),
	"index_file_size" NUMBER(38,0),
	"access" VARCHAR(16777216),
	"acl" VARCHAR(16777216)
);

INSERT INTO "TCGA_MITELMAN"."TCGA_VERSIONED"."PER_SAMPLE_FILE_METADATA_HG38_GDC_R31" (sample_barcode, access, data_type, platform, case_barcode, data_category, data_format, project_short_name_suffix, file_type, index_file_id, project_short_name, index_file_name_key, index_file_size, file_name_key, experimental_strategy, program_name, file_size, file_gdc_id, sample_gdc_id, acl, case_gdc_id, sample_type_name) VALUES ('TCGA-MP-A4TI-01A', 'open', 'Gene Level Copy Number', 'Affymetrix SNP 6.0', 'TCGA-MP-A4TI', 'Copy Number Variation', 'TXT', 'LUAD', 'copy_number_estimate', NULL, 'TCGA-LUAD', NULL, NULL, 'gs://gdc-tcga-phs000178-open/7b0fa67b-55a3-486f-91ef-b35fa2b0eeee/TCGA-LUAD.147ff92e-a68a-4453-a1cb-132ac06ff511.gene_level_copy_number.tsv', 'Genotyping Array', 'TCGA', 3482257, '7b0fa67b-55a3-486f-91ef-b35fa2b0eeee', '3e2f1a0a-b097-45b4-8cf4-92a38e134bc5', 'open', 'f327dea0-2d30-482f-809c-76a148a749b7', 'Primary Tumor'), ('TCGA-78-7150-01A', 'open', 'Gene Level Copy Number', 'Affymetrix SNP 6.0', 'TCGA-78-7150', 'Copy Number Variation', 'TXT', 'LUAD', 'copy_number_estimate', NULL, 'TCGA-LUAD', NULL, NULL, 'gs://gdc-tcga-phs000178-open/1060bb4a-e12e-4cfe-9464-847dbf387d25/TCGA-LUAD.81e5055c-615b-4633-a373-c12173a75440.gene_level_copy_number.tsv', 'Genotyping Array', 'TCGA', 3482446, '1060bb4a-e12e-4cfe-9464-847dbf387d25', '4a1d97dd-fdd4-4c57-8dda-7b320237af36', 'open', 'a0e57b39-960e-4e46-8aa0-d0ee2fd9a7cc', 'Primary Tumor'), ('TCGA-78-7535-10A', 'open', 'Gene Level Copy Number', 'Affymetrix SNP 6.0', 'TCGA-78-7535', 'Copy Number Variation', 'TXT', 'LUAD', 'copy_number_estimate', NULL, 'TCGA-LUAD', NULL, NULL, 'gs://gdc-tcga-phs000178-open/fd989d31-29d5-4e3d-97d6-4fdd55a685a6/TCGA-LUAD.cf13271f-b2ac-4fbf-b9f9-31e67580dac4.gene_level_copy_number.tsv', 'Genotyping Array', 'TCGA', 3482239, 'fd989d31-29d5-4e3d-97d6-4fdd55a685a6', 'fae164e6-16ed-4547-9872-15d53c79bb45', 'open', '46592b7b-6968-42a6-83af-0917c9f4a9a5', 'Blood Derived Normal'), ('TCGA-44-2656-10A', 'open', 'Gene Level Copy Number', 'Affymetrix SNP 6.0', 'TCGA-44-2656', 'Copy Number Variation', 'TXT', 'LUAD', 'copy_number_estimate', NULL, 'TCGA-LUAD', NULL, NULL, 'gs://gdc-tcga-phs000178-open/1961eed9-c70a-4ba1-bce6-5b9b4c84f25c/TCGA-LUAD.7bbc5291-ea7a-4ce9-baa4-7a30a079eace.gene_level_copy_number.tsv', 'Genotyping Array', 'TCGA', 3482238, '1961eed9-c70a-4ba1-bce6-5b9b4c84f25c', '964b9560-2f8d-4c19-943b-6941e4be7042', 'open', '42ca54fc-c1ae-41cd-bca1-7fe9810db460', 'Blood Derived Normal'), ('TCGA-64-1677-10A', 'open', 'Gene Level Copy Number', 'Affymetrix SNP 6.0', 'TCGA-64-1677', 'Copy Number Variation', 'TXT', 'LUAD', 'copy_number_estimate', NULL, 'TCGA-LUAD', NULL, NULL, 'gs://gdc-tcga-phs000178-open/e3cb0d07-2187-4edb-8eb2-e455d0b45b4d/TCGA-LUAD.837c4145-4dda-4a7c-b01b-0be687d13b3c.gene_level_copy_number.tsv', 'Genotyping Array', 'TCGA', 3482485, 'e3cb0d07-2187-4edb-8eb2-e455d0b45b4d', '944a62b6-b610-418d-b679-9b722278227a', 'open', '8a16ddb3-4861-4128-bed9-0b1f94fe8cf7', 'Blood Derived Normal');