This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Database Object | |
| { | |
| "name": "medium", | |
| "description": null, | |
| "locationUri": "hdfs://namenode:8020/user/hive/warehouse/medium.db", | |
| "parameters": {}, | |
| "privileges": null, | |
| "ownerName": "root", | |
| "ownerType": "USER", | |
| "setParameters": true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Database Object | |
| { | |
| "name": "medium", | |
| "description": null, | |
| "locationUri": "hdfs://namenode:8020/user/hive/warehouse/medium.db", | |
| "parameters": {}, | |
| "privileges": null, | |
| "ownerName": "root", | |
| "ownerType": "USER", | |
| "setParameters": true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Hook Input Objects | |
| { | |
| "tableName": "post", | |
| "dbName": "medium", | |
| "owner": "root", | |
| "createTime": 1569634020, | |
| "lastAccessTime": 0, | |
| "retention": 0, | |
| "sd": { | |
| "cols": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "tableName": "post", | |
| "dbName": "medium", | |
| "owner": "root", | |
| "createTime": 1569766653, | |
| "lastAccessTime": 0, | |
| "retention": 0, | |
| "sd": { | |
| "cols": [ | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // OLD Table | |
| { | |
| "tableName": "post", | |
| "dbName": "medium", | |
| "owner": "root", | |
| "createTime": 1569766653, | |
| "lastAccessTime": 0, | |
| "retention": 0, | |
| "sd": { | |
| "cols": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git remote add google https://source.developers.google.com/p/project/r/repo | |
| git push google master |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| gcloud auth activate-service-account --key-file sa.json | |
| gcloud auth print-access-token | |
| # The command returns an access token value. | |
| # When calling a GCP API, pass the token value as a bearer token in an Authorization header |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { IPageData} from '../page-data' | |
| import * as create from './pizza-order-create.apis' | |
| import * as remove from './pizza-order-delete.apis' | |
| import * as edit from './pizza-order-edit.apis' | |
| import * as view from './pizza-order-view.apis' | |
| class PizzaOrderPageData implements IPageData { | |
| public name = 'pizza_order' | |
| public url = '/' | |
| // User details |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * A Wrapper to wait for a given StubbedAPI to return using cypress wait method | |
| * | |
| * @see StubbedAPI | |
| * @see https://on.cypress.io/wait | |
| * @param api - StubbedAPI that will be used. | |
| * @param message - Message that will be shown once api returns. | |
| * @param assertionFunction - Function that will be called after api returns, | |
| * it will expose the xhr object for assertion | |
| * @param log - Enable/Disable logging for cypress runner |