[DATASCIENCE] [DATABRICKS] Estou usando o Databricks Free Edition em uma nuvem AWS e por algumas vezes me aparece pedindo a referencia do volume AWS. Já pedi ajuda no Genie mas, ele não lê o ID desse volume, podem me ajudar?
Segue a reprodução do erro: The error is due to the missing cloud file system scheme in the LOCATION clause. You need to specify the full path including the scheme (e.g., dbfs:/ for Databricks File System).
Here is the corrected SQL code:
%sql
CREATE TABLE usuarios(
idade int,
estado string,
salario float
)
ROW FORMAT DELIMITED
FIELDS TERMINATED BY ','
LINES TERMINATED BY '\n'
STORED AS textfile
LOCATION 'dbfs:/FileStore/tables/aula-databricks/usuarios/'
This code specifies the full path including the dbfs:/ scheme for the LOCATION clause.