Skip to content

Commit 37a11a9

Browse files
committed
update version to 0.51.0-public
1 parent 098795e commit 37a11a9

File tree

16 files changed

+53
-33
lines changed

16 files changed

+53
-33
lines changed

odps-console-auth/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
<parent>
77
<groupId>com.aliyun.openservices.odps</groupId>
88
<artifactId>odps-console</artifactId>
9-
<version>0.51.0-public.rc0</version>
9+
<version>0.51.0-public</version>
1010
</parent>
1111
<groupId>com.aliyun.openservices.odps</groupId>
1212
<artifactId>odps-console-auth</artifactId>
13-
<version>0.51.0-public.rc0</version>
13+
<version>0.51.0-public</version>
1414
<name>odps-console-auth</name>
1515

1616
<properties>

odps-console-basic/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
<parent>
77
<groupId>com.aliyun.openservices.odps</groupId>
88
<artifactId>odps-console</artifactId>
9-
<version>0.51.0-public.rc0</version>
9+
<version>0.51.0-public</version>
1010
</parent>
1111
<groupId>com.aliyun.openservices.odps</groupId>
1212
<artifactId>odps-console-basic</artifactId>
13-
<version>0.51.0-public.rc0</version>
13+
<version>0.51.0-public</version>
1414
<name>odps-console-basic</name>
1515
<url>http://odps.aliyun.com</url>
1616

odps-console-basic/src/main/java/com/aliyun/openservices/odps/console/ExecutionContext.java

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,11 @@ public void setHttpsCheck(boolean httpsCheck) {
216216
*/
217217
private boolean enableQuotaCache = false;
218218

219+
/**
220+
* when this flag is true, skip get progress (only mcqa 2.0)
221+
*/
222+
private boolean skipGetProgress = false;
223+
219224
private int readTimeout;
220225
private int connectTimeout;
221226

@@ -626,6 +631,7 @@ public static ExecutionContext load(String config) throws ODPSConsoleException {
626631
String readTimeout = properties.getProperty(ODPSConsoleConstants.NETWORK_READ_TIMEOUT);
627632
String connectTimeout = properties.getProperty(ODPSConsoleConstants.NETWORK_CONNECT_TIMEOUT);
628633
String enableQuotaCache = properties.getProperty(ODPSConsoleConstants.ENABLE_QUOTA_CACHE);
634+
String skipProgress = properties.getProperty(ODPSConsoleConstants.SKIP_PROGRESS);
629635

630636
context.setOdpsCupidProxyEndpoint(odpsCupidProxyEndpoint);
631637

@@ -803,6 +809,9 @@ public static ExecutionContext load(String config) throws ODPSConsoleException {
803809
if (!StringUtils.isNullOrEmpty(enableQuotaCache)) {
804810
context.setEnableQuotaCache(BooleanUtils.toBoolean(enableQuotaCache));
805811
}
812+
if (!StringUtils.isNullOrEmpty(skipProgress)) {
813+
context.setSkipGetProgress(BooleanUtils.toBoolean(skipProgress));
814+
}
806815
if (!StringUtils.isNullOrEmpty(readTimeout)) {
807816
context.setReadTimeout(Integer.parseInt(readTimeout));
808817
}
@@ -1070,6 +1079,14 @@ public boolean isEnableQuotaCache() {
10701079
return enableQuotaCache;
10711080
}
10721081

1082+
public void setSkipGetProgress(boolean skipGetProgress) {
1083+
this.skipGetProgress = skipGetProgress;
1084+
}
1085+
1086+
public boolean isSkipGetProgress() {
1087+
return skipGetProgress;
1088+
}
1089+
10731090
public void setReadTimeout(int readTimeout) {
10741091
this.readTimeout = readTimeout;
10751092
}

odps-console-basic/src/main/java/com/aliyun/openservices/odps/console/constants/ODPSConsoleConstants.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ public class ODPSConsoleConstants {
102102
public static final String INSTANCE_TUNNEL_MAX_RECORD = "instance_tunnel_max_record";
103103
public static final String INSTANCE_TUNNEL_MAX_SIZE = "instance_tunnel_max_size";
104104
public static final String ENABLE_QUOTA_CACHE = "enable_quota_cache";
105+
public static final String SKIP_PROGRESS = "skip_progress";
105106

106107
// Session flags
107108
public static final String INTERACTIVE_AUTO_RERUN = "interactive_auto_rerun";

odps-console-cupid-public/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@
3333
<parent>
3434
<groupId>com.aliyun.openservices.odps</groupId>
3535
<artifactId>odps-console</artifactId>
36-
<version>0.51.0-public.rc0</version>
36+
<version>0.51.0-public</version>
3737
</parent>
3838
<groupId>com.aliyun.openservices.odps</groupId>
3939
<artifactId>odps-console-cupid-public</artifactId>
40-
<version>0.51.0-public.rc0</version>
40+
<version>0.51.0-public</version>
4141
<name>odps-console-cupid-public</name>
4242

4343
<dependencies>

odps-console-dist-public/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>odps-console</artifactId>
77
<groupId>com.aliyun.openservices.odps</groupId>
8-
<version>0.51.0-public.rc0</version>
8+
<version>0.51.0-public</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

odps-console-dship/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
<parent>
77
<groupId>com.aliyun.openservices.odps</groupId>
88
<artifactId>odps-console</artifactId>
9-
<version>0.51.0-public.rc0</version>
9+
<version>0.51.0-public</version>
1010
</parent>
1111
<groupId>com.aliyun.openservices.odps</groupId>
1212
<artifactId>odps-console-dship</artifactId>
13-
<version>0.51.0-public.rc0</version>
13+
<version>0.51.0-public</version>
1414
<name>odps-console-dship</name>
1515

1616
<dependencies>

odps-console-mr/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
<parent>
66
<groupId>com.aliyun.openservices.odps</groupId>
77
<artifactId>odps-console</artifactId>
8-
<version>0.51.0-public.rc0</version>
8+
<version>0.51.0-public</version>
99
</parent>
1010
<groupId>com.aliyun.openservices.odps</groupId>
1111
<artifactId>odps-console-mr</artifactId>
12-
<version>0.51.0-public.rc0</version>
12+
<version>0.51.0-public</version>
1313
<name>odps-console-mr</name>
1414

1515
<properties>

odps-console-public/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
<parent>
66
<groupId>com.aliyun.openservices.odps</groupId>
77
<artifactId>odps-console</artifactId>
8-
<version>0.51.0-public.rc0</version>
8+
<version>0.51.0-public</version>
99
</parent>
1010
<groupId>com.aliyun.openservices.odps</groupId>
1111
<artifactId>odps-console-public</artifactId>
12-
<version>0.51.0-public.rc0</version>
12+
<version>0.51.0-public</version>
1313
<name>odps-console-public</name>
1414

1515
<dependencies>

odps-console-resource/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
<parent>
66
<groupId>com.aliyun.openservices.odps</groupId>
77
<artifactId>odps-console</artifactId>
8-
<version>0.51.0-public.rc0</version>
8+
<version>0.51.0-public</version>
99
</parent>
1010
<groupId>com.aliyun.openservices.odps</groupId>
1111
<artifactId>odps-console-resource</artifactId>
12-
<version>0.51.0-public.rc0</version>
12+
<version>0.51.0-public</version>
1313
<name>odps-console-resource</name>
1414

1515
<dependencies>

0 commit comments

Comments
 (0)