Skip to content

404 on select * from table but not describe table #22

@dah33

Description

@dah33

This is on Databricks build 6.1 (includes Apache Spark 2.4.4, Scala 2.11):

CREATE TABLE tmp_weekly
USING com.github.potix2.spark.google.spreadsheets
OPTIONS (
    path "sheet_identifier/Weekly",
    serviceAccountId "[email protected]",
    credentialPath "/dbfs/FileStore/credentials/blah.p12"
)

The CREATE is fine, as is:

> describe tmp_weekly
col_name	data_type	comment
my_col1	string	null
my_col2	string	null

But select fails:

> select * from tmp_weekly limit 1

Error in SQL statement: GoogleJsonResponseException: 404 Not Found
{
  "code" : 404,
  "errors" : [ {
    "domain" : "global",
    "message" : "Requested entity was not found.",
    "reason" : "notFound"
  } ],
  "message" : "Requested entity was not found.",
  "status" : "NOT_FOUND"
}

I have installed com.github.potix2:spark-google-spreadsheets_2.11:0.6.2 via Maven.

Update: I reproduced on 0.6.3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions