Skip to content

Commit 679d990

Browse files
fix(types): drop changes for drift and seasonal (#681)
1 parent d6c9566 commit 679d990

File tree

2 files changed

+14
-39
lines changed

2 files changed

+14
-39
lines changed

src/types.d.ts

+13-38
Original file line numberDiff line numberDiff line change
@@ -96,15 +96,15 @@ declare namespace bigquery {
9696
*/
9797
type IArimaFittingMetrics = {
9898
/**
99-
* AIC.
99+
* AIC
100100
*/
101101
aic?: number;
102102
/**
103-
* Log-likelihood.
103+
* log-likelihood
104104
*/
105105
logLikelihood?: number;
106106
/**
107-
* Variance.
107+
* variance.
108108
*/
109109
variance?: number;
110110
};
@@ -121,32 +121,10 @@ declare namespace bigquery {
121121
* Arima fitting metrics.
122122
*/
123123
arimaFittingMetrics?: IArimaFittingMetrics;
124-
/**
125-
* Whether Arima model fitted with drift or not. It is always false
126-
* when d is not 1.
127-
*/
128-
hasDrift?: boolean;
129124
/**
130125
* Non-seasonal order.
131126
*/
132127
nonSeasonalOrder?: IArimaOrder;
133-
/**
134-
* Seasonal periods. Repeated because multiple periods are supported
135-
* for one time series.
136-
*/
137-
seasonalPeriods?: Array<
138-
| 'SEASONAL_PERIOD_TYPE_UNSPECIFIED'
139-
| 'NO_SEASONALITY'
140-
| 'DAILY'
141-
| 'WEEKLY'
142-
| 'MONTHLY'
143-
| 'QUARTERLY'
144-
| 'YEARLY'
145-
>;
146-
/**
147-
* The id to indicate different time series.
148-
*/
149-
timeSeriesId?: string;
150128
};
151129

152130
/**
@@ -488,17 +466,6 @@ declare namespace bigquery {
488466
rows?: Array<IRow>;
489467
};
490468

491-
type IConnectionProperty = {
492-
/**
493-
* [Required] Name of the connection property to set.
494-
*/
495-
key?: string;
496-
/**
497-
* [Required] Value of the connection property.
498-
*/
499-
value?: string;
500-
};
501-
502469
type ICsvOptions = {
503470
/**
504471
* [Optional] Indicates if BigQuery should accept rows that are missing trailing optional columns. If true, BigQuery treats missing trailing columns as null values. If false, records with missing trailing columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false.
@@ -927,6 +894,10 @@ declare namespace bigquery {
927894
* [Optional] Additional options if sourceFormat is set to GOOGLE_SHEETS.
928895
*/
929896
googleSheetsOptions?: IGoogleSheetsOptions;
897+
/**
898+
* [Optional, Trusted Tester] Deprecated, do not use. Please set hivePartitioningOptions instead.
899+
*/
900+
hivePartitioningMode?: string;
930901
/**
931902
* [Optional, Trusted Tester] Options to configure hive partitioning support.
932903
*/
@@ -1252,6 +1223,10 @@ declare namespace bigquery {
12521223
* [Optional] The separator for fields in a CSV file. The separator can be any ISO-8859-1 single-byte character. To use a character in the range 128-255, you must encode the character as UTF8. BigQuery converts the string to ISO-8859-1 encoding, and then uses the first byte of the encoded string to split the data in its raw, binary state. BigQuery also supports the escape sequence "\t" to specify a tab separator. The default value is a comma (',').
12531224
*/
12541225
fieldDelimiter?: string;
1226+
/**
1227+
* [Optional, Trusted Tester] Deprecated, do not use. Please set hivePartitioningOptions instead.
1228+
*/
1229+
hivePartitioningMode?: string;
12551230
/**
12561231
* [Optional, Trusted Tester] Options to configure hive partitioning support.
12571232
*/
@@ -1334,7 +1309,7 @@ declare namespace bigquery {
13341309
/**
13351310
* Connection properties.
13361311
*/
1337-
connectionProperties?: Array<IConnectionProperty>;
1312+
connectionProperties?: Array<any>;
13381313
/**
13391314
* [Optional] Specifies whether the job is allowed to create new tables. The following values are supported: CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table. CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result. The default value is CREATE_IF_NEEDED. Creation, truncation and append actions occur as one atomic update upon job completion.
13401315
*/
@@ -2060,7 +2035,7 @@ declare namespace bigquery {
20602035
/**
20612036
* Connection properties.
20622037
*/
2063-
connectionProperties?: Array<IConnectionProperty>;
2038+
connectionProperties?: Array<any>;
20642039
/**
20652040
* [Optional] Specifies the default datasetId and projectId to assume for any unqualified table names in the query. If not set, all table names in the query string must be qualified in the format 'datasetId.tableId'.
20662041
*/

synth.metadata

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/nodejs-bigquery.git",
7-
"sha": "69cb8451edc6bcae8e237bad621e6eea2cfbc7aa"
7+
"sha": "d6c95667577df2d32bff6f9d07117d011379ecd2"
88
}
99
},
1010
{

0 commit comments

Comments
 (0)