Skip to content

Commit

Permalink
Remove access tokens which are no more valid
Browse files Browse the repository at this point in the history
  • Loading branch information
Amogh Shetkar committed Apr 19, 2021
1 parent 85e1e73 commit f740fee
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ class CatalogConsistencyDUnitTest(s: String) extends ClusterManagerTestBase(s) {

snc.sql("create stream table tweetsTable (id long, text string, fullName string, " +
"country string, retweets int, hashtag string) using twitter_stream options (" +
"consumerKey '***REMOVED***', " +
"consumerSecret '***REMOVED***', " +
"accessToken '***REMOVED***', " +
"accessTokenSecret '***REMOVED***', " +
"consumerKey '**REMOVED**', " +
"consumerSecret '**REMOVED**', " +
"accessToken '**REMOVED**', " +
"accessTokenSecret '**REMOVED**', " +
"rowConverter 'io.snappydata.streaming.TweetToRowsConverter')")
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ class StreamingDUnitTest(val s: String) extends ClusterManagerTestBase(s) {
"(id long, text string, fullName string, " +
"country string, retweets int, hashtag string) " +
"using twitter_stream options (" +
"consumerKey '***REMOVED***', " +
"consumerSecret '***REMOVED***', " +
"accessToken '***REMOVED***', " +
"accessTokenSecret '***REMOVED***', " +
"consumerKey '**REMOVED**', " +
"consumerSecret '**REMOVED**', " +
"accessToken '**REMOVED**', " +
"accessTokenSecret '**REMOVED**', " +
"rowConverter 'io.snappydata.streaming.TweetToRowsConverter')")
s.execute("streaming start")
s.execute("streaming start")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ DROP TABLE IF EXISTS AIRLINE ;

----- CREATE TEMPORARY STAGING TABLE TO LOAD PARQUET FORMATTED DATA -----
CREATE EXTERNAL TABLE STAGING_AIRLINE
-- USING parquet OPTIONS(path 's3a://***REMOVED***:***REMOVED***@zeppelindemo/airlinedata_cleaned');
-- USING parquet OPTIONS(path 's3a://<aws_access_key_id>:<aws_secret_access_key>@zeppelindemo/airlinedata_cleaned');
USING parquet OPTIONS(path '/export/shared/QA_DATA/airlinedata_cleaned');

----- CREATE COLUMN TABLE -----
Expand All @@ -19,9 +19,9 @@ DROP TABLE IF EXISTS AIRLINEREF;

----- CREATE TEMPORARY STAGING TABLE TO LOAD PARQUET FORMATTED DATA -----
CREATE EXTERNAL TABLE STAGING_AIRLINEREF
-- USING parquet OPTIONS(path 's3a://***REMOVED***:***REMOVED***@zeppelindemo/airportdata');
-- USING parquet OPTIONS(path 's3a://<aws_access_key_id>:<aws_secret_access_key>@zeppelindemo/airportdata');
USING parquet OPTIONS(path '/export/shared/QA_DATA/airportdata');

----- CREATE ROW TABLE -----

CREATE TABLE AIRLINEREF USING row OPTIONS(PERSISTENT 'SYNCHRONOUS') AS (SELECT CODE, DESCRIPTION FROM STAGING_AIRLINEREF);
CREATE TABLE AIRLINEREF USING row OPTIONS(PERSISTENT 'SYNCHRONOUS') AS (SELECT CODE, DESCRIPTION FROM STAGING_AIRLINEREF);

0 comments on commit f740fee

Please sign in to comment.