Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jobs: load from storage #1056

Merged
merged 16 commits into from
Aug 17, 2015
Merged

Jobs: load from storage #1056

merged 16 commits into from
Aug 17, 2015

Commits on Aug 17, 2015

  1. Match order of CUT methods.

    tseaver committed Aug 17, 2015
    Configuration menu
    Copy the full SHA
    062d5bb View commit details
    Browse the repository at this point in the history
  2. Add 'bigquery.job.LoadFromStorageJob.

    Models job request to load a BQ table from file(s) in CloudStorage.
    tseaver committed Aug 17, 2015
    Configuration menu
    Copy the full SHA
    14fbb6c View commit details
    Browse the repository at this point in the history
  3. Add 'Client.load_from_storage' factory.

    Builds an instance of 'job.LoadFromStorageJob'.
    tseaver committed Aug 17, 2015
    Configuration menu
    Copy the full SHA
    7b31499 View commit details
    Browse the repository at this point in the history
  4. Factor out schema resource helpers for re-use.

    - 'table.Table._parse_schema_resource' -> 'table._parse_schema_resource'
    - 'table.Table._build_schema_resource' -> 'table._build_schema_resource'
    tseaver committed Aug 17, 2015
    Configuration menu
    Copy the full SHA
    0c3232c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    54607e8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    cd1fdba View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    66dd746 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4da9bb5 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    15d8663 View commit details
    Browse the repository at this point in the history
  10. Include 'sourceUris', 'destination' in load configuration.

    Found while attempting to add a system test for the 'load from storage' case.
    tseaver committed Aug 17, 2015
    Configuration menu
    Copy the full SHA
    e37ab0b View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    f88dcc3 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    31026aa View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    31c4b1b View commit details
    Browse the repository at this point in the history
  14. Implement 'cancel' API request.

    Addresses:
    #1056 (comment)
    tseaver committed Aug 17, 2015
    Configuration menu
    Copy the full SHA
    6549219 View commit details
    Browse the repository at this point in the history
  15. Expose quasi-enum types for string values w/ choices.

    Users who want to avoid tripping over string literal mismatches can use
    class constants instead.
    
    Addresses:
    https://github.com/GoogleCloudPlatform/gcloud-python/pull/1056/files#r37029533
    tseaver committed Aug 17, 2015
    Configuration menu
    Copy the full SHA
    9260ae9 View commit details
    Browse the repository at this point in the history
  16. Make load job name / API more explicit:

    - 'Client.load_from_storage' -> 'Client.load_table_from_storage'.
    - 'job.LoadFromStorageJob' -> 'job.LoadTableFromStorageJob'.
    
    Addresses:
    
    https://github.com/GoogleCloudPlatform/gcloud-python/pull/1056/files#r37120652
    tseaver committed Aug 17, 2015
    Configuration menu
    Copy the full SHA
    3e10e52 View commit details
    Browse the repository at this point in the history