Switching the Doris master‘s java code to compile and run with JDK17.

2024-03-04 Thread 方铁伟
Instructions for switching the Doris master‘s java code to compile and run with 
JDK17



Due to the import of some new Java dependencies, the minimum jdk version 
requirement for Doris master's java code is JDK17. Therefore, the minimum 
compilation and running requirements for Doris master's Java code have been 
changed to JDK 17.



The method and impact of switching the jdk17:


1. During the period of switching to JDK17


   a. The compilation and running environment of The CI/CD pipelines have been 
prepared both JDK 8 and JDK 17 Java environments
   b. In the new code, env.sh will automatically find the JDK17 environment and 
set JAVA_HOME.
   c. This ensures that during the period of switching to JDK17, the pipeline 
can support PRs for both JDK 8 and JDK 17.


2. The impact of switching to JDK 17.
   
   a. The java code of Doris master branch can only be compiled and run using 
JDK17.
   b. The Master branch controls the Java code to only use the language 
features of JDK8 through the Maven plugin, while prohibiting the use of JDK 17 
language features. This can prevent conflicts when merging PRs into other 
branches.
   c. The 1.2/2.0/2.1 branches of Doris will continue to use JDK 8 and are not 
affected.




3. When will JDK 17 be officially used?


   a. The official switch to JDK 17 will occur in the Doris 3.0 version. At 
that time, we can use the language features of JDK17.




4. How R&D can conveniently switch between master and 2.1 branches (using 
different versions of JDK)?


   a. Prepare both JDK 8 and JDK 17 environments, with the system default 
remaining as JDK 8.
   b. Create a custom_env.sh file in the root directory of the Doris code. Add 
the configuration JDK_17=/path/to/jdk17_home.
   c. The Doris master's code will automatically look for the JDK17 directory, 
while the old code will ignore this variable and continue to use JDK 8.








方铁伟
fangtie...@selectdb.com

签名由 网易灵犀办公 定制







Vote for Apache Doris 2.1.0

2024-03-04 Thread GuoLei Yi
Hi all,

Please review and vote on Apache Doris 2.1.0 release.

The release candidate has been tagged in GitHub as 2.1.0-rc11, available here:

https://github.com/apache/doris/tree/2.1.0-rc11


The release notes can be found here:
https://github.com/apache/doris/issues/31770

The source package, signature and checksum corresponding
to this release candidate can be found here:
https://dist.apache.org/repos/dist/dev/doris/2.1.0-rc11/


The convenience binaries can be downloaded here:

https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-x64.tar.gz
https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-x64.tar.gz.asc
https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-x64.tar.gz.sha512

https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-x64-noavx2.tar.gz
https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-x64-noavx2.tar.gz.asc
https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-x64-noavx2.tar.gz.sha512

https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-arm64.tar.gz
https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-arm64.tar.gz.asc
https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-arm64.tar.gz.sha512

KEYS file is available here:

https://downloads.apache.org/doris/KEYS

The vote will be open for at least 72 hours.

[ ] +1 Approve the release

[ ] +0 No opinion

[ ] -1 Do not release this package because ...

-- 
Best Regards,
Yi Guo Lei
SelectDB
The Best Cloud Native Platform for Apache Doris
Tel:134-3991-0228
Email:yiguo...@gmail.com

-
To unsubscribe, e-mail: dev-unsubscr...@doris.apache.org
For additional commands, e-mail: dev-h...@doris.apache.org



Re:Vote for Apache Doris 2.1.0

2024-03-04 Thread Zhou Minghong
+1

















At 2024-03-05 10:59:33, "GuoLei Yi"  wrote:
>Hi all,
>
>Please review and vote on Apache Doris 2.1.0 release.
>
>The release candidate has been tagged in GitHub as 2.1.0-rc11, available here:
>
>https://github.com/apache/doris/tree/2.1.0-rc11
>
>
>The release notes can be found here:
>https://github.com/apache/doris/issues/31770
>
>The source package, signature and checksum corresponding
>to this release candidate can be found here:
>https://dist.apache.org/repos/dist/dev/doris/2.1.0-rc11/
>
>
>The convenience binaries can be downloaded here:
>
>https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-x64.tar.gz
>https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-x64.tar.gz.asc
>https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-x64.tar.gz.sha512
>
>https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-x64-noavx2.tar.gz
>https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-x64-noavx2.tar.gz.asc
>https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-x64-noavx2.tar.gz.sha512
>
>https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-arm64.tar.gz
>https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-arm64.tar.gz.asc
>https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-arm64.tar.gz.sha512
>
>KEYS file is available here:
>
>https://downloads.apache.org/doris/KEYS
>
>The vote will be open for at least 72 hours.
>
>[ ] +1 Approve the release
>
>[ ] +0 No opinion
>
>[ ] -1 Do not release this package because ...
>
>-- 
>Best Regards,
>Yi Guo Lei
>SelectDB
>The Best Cloud Native Platform for Apache Doris
>Tel:134-3991-0228
>Email:yiguo...@gmail.com
>
>-
>To unsubscribe, e-mail: dev-unsubscr...@doris.apache.org
>For additional commands, e-mail: dev-h...@doris.apache.org


Re: Vote for Apache Doris 2.1.0

2024-03-04 Thread ling miao
+1

Zhou Minghong  于2024年3月5日周二 11:45写道:

> +1
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> At 2024-03-05 10:59:33, "GuoLei Yi"  wrote:
> >Hi all,
> >
> >Please review and vote on Apache Doris 2.1.0 release.
> >
> >The release candidate has been tagged in GitHub as 2.1.0-rc11, available
> here:
> >
> >https://github.com/apache/doris/tree/2.1.0-rc11
> >
> >
> >The release notes can be found here:
> >https://github.com/apache/doris/issues/31770
> >
> >The source package, signature and checksum corresponding
> >to this release candidate can be found here:
> >https://dist.apache.org/repos/dist/dev/doris/2.1.0-rc11/
> >
> >
> >The convenience binaries can be downloaded here:
> >
> >
> https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-x64.tar.gz
> >
> https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-x64.tar.gz.asc
> >
> https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-x64.tar.gz.sha512
> >
> >
> https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-x64-noavx2.tar.gz
> >
> https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-x64-noavx2.tar.gz.asc
> >
> https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-x64-noavx2.tar.gz.sha512
> >
> >
> https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-arm64.tar.gz
> >
> https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-arm64.tar.gz.asc
> >
> https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-arm64.tar.gz.sha512
> >
> >KEYS file is available here:
> >
> >https://downloads.apache.org/doris/KEYS
> >
> >The vote will be open for at least 72 hours.
> >
> >[ ] +1 Approve the release
> >
> >[ ] +0 No opinion
> >
> >[ ] -1 Do not release this package because ...
> >
> >--
> >Best Regards,
> >Yi Guo Lei
> >SelectDB
> >The Best Cloud Native Platform for Apache Doris
> >Tel:134-3991-0228
> >Email:yiguo...@gmail.com
> >
> >-
> >To unsubscribe, e-mail: dev-unsubscr...@doris.apache.org
> >For additional commands, e-mail: dev-h...@doris.apache.org
>


-- 
Ling Miao | Apache Doris


Re: Vote for Apache Doris 2.1.0

2024-03-04 Thread ChenMingyu
Hi all,
Please refer to this doc to see how to make a valid binding vote.
[1] https://doris.apache.org/community/release-and-verify/release-verify/




--

Best Regards
Mingyu Chen

Email:
morning...@apache.org





在 2024-03-05 12:02:26,"王博" <506340...@qq.com.INVALID> 写道:
>+1
>
>
>
>
>王博
>506340...@qq.com
>
>
>
> 
>
>
>
>
>-- 原始邮件 --
>发件人:   
> "dev" 
>   发送时间: 2024年3月5日(星期二) 上午10:59
>收件人: "dev"
>主题: Vote for Apache Doris 2.1.0
>
>
>
>Hi all,
>
>Please review and vote on Apache Doris 2.1.0 release.
>
>The release candidate has been tagged in GitHub as 2.1.0-rc11, available here:
>
>https://github.com/apache/doris/tree/2.1.0-rc11
>
>
>The release notes can be found here:
>https://github.com/apache/doris/issues/31770
>
>The source package, signature and checksum corresponding
>to this release candidate can be found here:
>https://dist.apache.org/repos/dist/dev/doris/2.1.0-rc11/
>
>
>The convenience binaries can be downloaded here:
>
>https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-x64.tar.gz
>https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-x64.tar.gz.asc
>https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-x64.tar.gz.sha512
>
>https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-x64-noavx2.tar.gz
>https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-x64-noavx2.tar.gz.asc
>https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-x64-noavx2.tar.gz.sha512
>
>https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-arm64.tar.gz
>https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-arm64.tar.gz.asc
>https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-arm64.tar.gz.sha512
>
>KEYS file is available here:
>
>https://downloads.apache.org/doris/KEYS
>
>The vote will be open for at least 72 hours.
>
>[ ] +1 Approve the release
>
>[ ] +0 No opinion
>
>[ ] -1 Do not release this package because ...
>
>-- 
>Best Regards,
>Yi Guo Lei
>SelectDB
>The Best Cloud Native Platform for Apache Doris
>Tel:134-3991-0228
>Email:yiguo...@gmail.com
>
>-
>To unsubscribe, e-mail: dev-unsubscr...@doris.apache.org
>For additional commands, e-mail: dev-h...@doris.apache.org


Re: Vote for Apache Doris 2.1.0

2024-03-04 Thread Jiafeng.Zhang
Here is my +1(binding).

I checked:
[x] The download link is legal and the PGP signature are valid.

[x] The source code matches the current release version.
[x] The LICENSE and NOTICE files are correct.

Jiafeng.Zhang / 张家锋
Email: jiafengzh...@apache.org



ChenMingyu 于2024年3月5日 周二12:09写道:

> Hi all,
> Please refer to this doc to see how to make a valid binding vote.
> [1] https://doris.apache.org/community/release-and-verify/release-verify/
>
>
>
>
> --
>
> Best Regards
> Mingyu Chen
>
> Email:
> morning...@apache.org
>
>
>
>
>
> 在 2024-03-05 12:02:26,"王博" <506340...@qq.com.INVALID> 写道:
> >+1
> >
> >
> >
> >
> >王博
> >506340...@qq.com
> >
> >
> >
> > 
> >
> >
> >
> >
> >-- 原始邮件 --
> >发件人:
>   "dev"
> <
> yiguo...@gmail.com>;
> >发送时间: 2024年3月5日(星期二) 上午10:59
> >收件人: "dev" >
> >主题: Vote for Apache Doris 2.1.0
> >
> >
> >
> >Hi all,
> >
> >Please review and vote on Apache Doris 2.1.0 release.
> >
> >The release candidate has been tagged in GitHub as 2.1.0-rc11, available
> here:
> >
> >https://github.com/apache/doris/tree/2.1.0-rc11
> >
> >
> >The release notes can be found here:
> >https://github.com/apache/doris/issues/31770
> >
> >The source package, signature and checksum corresponding
> >to this release candidate can be found here:
> >https://dist.apache.org/repos/dist/dev/doris/2.1.0-rc11/
> >
> >
> >The convenience binaries can be downloaded here:
> >
> >
> https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-x64.tar.gz
> >
> https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-x64.tar.gz.asc
> >
> https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-x64.tar.gz.sha512
> >
> >
> https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-x64-noavx2.tar.gz
> >
> https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-x64-noavx2.tar.gz.asc
> >
> https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-x64-noavx2.tar.gz.sha512
> >
> >
> https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-arm64.tar.gz
> >
> https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-arm64.tar.gz.asc
> >
> https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-arm64.tar.gz.sha512
> >
> >KEYS file is available here:
> >
> >https://downloads.apache.org/doris/KEYS
> >
> >The vote will be open for at least 72 hours.
> >
> >[ ] +1 Approve the release
> >
> >[ ] +0 No opinion
> >
> >[ ] -1 Do not release this package because ...
> >
> >--
> >Best Regards,
> >Yi Guo Lei
> >SelectDB
> >The Best Cloud Native Platform for Apache Doris
> >Tel:134-3991-0228
> >Email:yiguo...@gmail.com
> >
> >-
> >To unsubscribe, e-mail: dev-unsubscr...@doris.apache.org
> >For additional commands, e-mail: dev-h...@doris.apache.org
>


Re: [PR] add new data types [doris-sdk]

2024-03-04 Thread via GitHub


JNSimba commented on code in PR #7:
URL: https://github.com/apache/doris-sdk/pull/7#discussion_r1512176926


##
thrift-service/src/main/thrift/Types.thrift:
##
@@ -88,14 +91,21 @@ enum TPrimitiveType {
   DECIMAL64,
   DECIMAL128I,
   JSONB,
-  UNSUPPORTED
+  UNSUPPORTED,
+  VARIANT,
+  LAMBDA_FUNCTION,
+  AGG_STATE,
+  DECIMAL256,
+  IPV4,
+  IPV6

Review Comment:
   Is it enough to just add it here?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@doris.apache.org
For additional commands, e-mail: dev-h...@doris.apache.org



Re: Vote for Apache Doris 2.1.0

2024-03-04 Thread De Li
Here is my +1(binding),

I checked:  
[x] The download link is legal.
[x] The PGP signature are valid.
[x] The source code matches the current release version.
[x] The LICENSE and NOTICE files are correct.
[x] All files carry the necessary protocol header.
[x] The compiled content is not included in the source package.
[x] The compilation can be executed smoothly.

---
# cd /data/community_release_test
# wget 
https://dist.apache.org/repos/dist/dev/doris/2.1.0-rc11/apache-doris-2.1.0-src.tar.gz
# tar -xf apache-doris-2.1.0-src.tar.gz
# cd apache-doris-2.1.0-src
# docker run -it --rm -v $(pwd):/github/workspace apache/skywalking-eyes header 
check
INFO Loading configuration from file: .licenserc.yaml 
INFO Totally checked 23109 files, valid: 10511, invalid: 0, ignored: 12598, 
fixed: 0 

# wget 
https://dist.apache.org/repos/dist/dev/doris/2.1.0-rc11/apache-doris-2.1.0-src.tar.gz.asc
# wget https://downloads.apache.org/doris/KEYS
# wget 
https://dist.apache.org/repos/dist/dev/doris/2.1.0-rc11/apache-doris-2.1.0-src.tar.gz.sha512
# gpg --import KEYS
# gpg --verify apache-doris-2.1.0-src.tar.gz.asc apache-doris-2.1.0-src.tar.gz
gpg: Signature made Tue 05 Mar 2024 01:09:34 AM CST
gpg:using RSA key C1E2DD8E81299B312E4224F3A44E008AF97D3FB3
gpg:issuer "yiguo...@apache.org"
gpg: Good signature from "yiguolei (yiguolei's key) " 
[unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg:  There is no indication that the signature belongs to the owner.
Primary key fingerprint: C1E2 DD8E 8129 9B31 2E42  24F3 A44E 008A F97D 3FB3

# sha512sum --check apache-doris-2.1.0-src.tar.gz.sha512
apache-doris-2.1.0-src.tar.gz: OK

# docker run -it -v 
/data/community_release_test/apache-doris-2.1.0-src/.m2:/root/.m2 -v 
/data/community_release_test/apache-doris-2.1.0-src/:/root/apache-doris-2.1.0-src/
 apache/doris:build-env-ldb-toolchain-latest
# cd /root/apache-doris-2.1.0-src/
# sh build.sh
...

--
lide-reed
l...@apache.org

On 2024/03/05 02:59:33 GuoLei Yi wrote:
> Hi all,
> 
> Please review and vote on Apache Doris 2.1.0 release.
> 
> The release candidate has been tagged in GitHub as 2.1.0-rc11, available here:
> 
> https://github.com/apache/doris/tree/2.1.0-rc11
> 
> 
> The release notes can be found here:
> https://github.com/apache/doris/issues/31770
> 
> The source package, signature and checksum corresponding
> to this release candidate can be found here:
> https://dist.apache.org/repos/dist/dev/doris/2.1.0-rc11/
> 
> 
> The convenience binaries can be downloaded here:
> 
> https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-x64.tar.gz
> https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-x64.tar.gz.asc
> https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-x64.tar.gz.sha512
> 
> https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-x64-noavx2.tar.gz
> https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-x64-noavx2.tar.gz.asc
> https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-x64-noavx2.tar.gz.sha512
> 
> https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-arm64.tar.gz
> https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-arm64.tar.gz.asc
> https://apache-doris-releases.oss-accelerate.aliyuncs.com/apache-doris-2.1.0-bin-arm64.tar.gz.sha512
> 
> KEYS file is available here:
> 
> https://downloads.apache.org/doris/KEYS
> 
> The vote will be open for at least 72 hours.
> 
> [ ] +1 Approve the release
> 
> [ ] +0 No opinion
> 
> [ ] -1 Do not release this package because ...
> 
> -- 
> Best Regards,
> Yi Guo Lei
> SelectDB
> The Best Cloud Native Platform for Apache Doris
> Tel:134-3991-0228
> Email:yiguo...@gmail.com
> 
> -
> To unsubscribe, e-mail: dev-unsubscr...@doris.apache.org
> For additional commands, e-mail: dev-h...@doris.apache.org
> 
> 

-
To unsubscribe, e-mail: dev-unsubscr...@doris.apache.org
For additional commands, e-mail: dev-h...@doris.apache.org