Skip to content

Conversation

@hubgeter
Copy link
Contributor

before pr #40225

Proposed changes

Issue Number: close #xxx

@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@hubgeter
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 37.30% (9627/25811)
Line Coverage: 28.70% (79677/277599)
Region Coverage: 28.13% (41197/146444)
Branch Coverage: 24.75% (20980/84758)
Coverage Report: http://coverage.selectdb-in.cc/coverage/601635fc9b047407dcc7dca109f46f0dc3178fd8_601635fc9b047407dcc7dca109f46f0dc3178fd8/report/index.html

timeZone = ZoneId.of(timeZoneName);
} catch (Exception e) {
LOG.info(e.getMessage());
LOG.info("set timeZoneName = " + timeZoneName + "fail, use systemDefault.");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use LOG.warn, and use one line.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i wiil fix

import java.util.stream.Collectors;

public class MaxComputeExternalCatalog extends ExternalCatalog {
private static final String endpointTemplate = "http://service.{}.maxcompute.aliyun-inc.com/api";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add aliyun doc link about this endpoint.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok . i will add it

if (props.containsKey(MCProperties.ENDPOINT)) {
endpoint = props.get(MCProperties.ENDPOINT);
return;
} else if (props.containsKey(MCProperties.TUNNEL_SDK_ENDPOINT)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add some example in comment to explain this conversion.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok . i will add it

ScalarType dstType = ScalarType.createDatetimeV2Type(3);
return " \"" + dateLiteral.getStringValue(dstType) + "\" ";
}
// case DATETIME: {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why comment out?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I should determine which time zone the datetime needs to be passed in.

import com.google.common.collect.ImmutableList;
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
import jdk.internal.org.jline.utils.Log;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wrong log import

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i fix it

@hubgeter
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 37.29% (9627/25815)
Line Coverage: 28.69% (79689/277776)
Region Coverage: 28.13% (41220/146535)
Branch Coverage: 24.74% (20987/84816)
Coverage Report: http://coverage.selectdb-in.cc/coverage/1bb3914bd3b20ac4a3208e10d2382e4540b72cf4_1bb3914bd3b20ac4a3208e10d2382e4540b72cf4/report/index.html

Copy link
Contributor

@morningman morningman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions
Copy link
Contributor

github-actions bot commented Oct 8, 2024

PR approved by at least one committer and no changes requested.

@github-actions github-actions bot added approved Indicates a PR has been approved by one committer. reviewed labels Oct 8, 2024
@github-actions
Copy link
Contributor

github-actions bot commented Oct 8, 2024

PR approved by anyone and no changes requested.

@morningman morningman merged commit e8a1a16 into apache:master Oct 8, 2024
hubgeter added a commit to hubgeter/doris that referenced this pull request Oct 9, 2024
hubgeter added a commit to hubgeter/doris that referenced this pull request Oct 9, 2024
hubgeter added a commit to hubgeter/doris that referenced this pull request Oct 10, 2024
hubgeter added a commit to hubgeter/doris that referenced this pull request Oct 10, 2024
…pute catalogs from previous versions. (apache#41386)

before pr apache#40225

(cherry picked from commit e8a1a16)
eldenmoon pushed a commit to eldenmoon/incubator-doris that referenced this pull request Oct 10, 2024
morningman pushed a commit that referenced this pull request Oct 11, 2024
… API.(#40225 , #40888 ,#41386 ) (#41610)

bp #40225 , #40888 ,#41386

## Proposed changes
Among them, #40225 is the new api of mc,
#40888 is used to fix the bug when reading null between the new and old
apis,
#41386 is used for compatibility between the new and old versions
cjj2010 pushed a commit to cjj2010/doris that referenced this pull request Oct 12, 2024
amorynan pushed a commit to amorynan/doris that referenced this pull request Oct 12, 2024
hubgeter added a commit to hubgeter/doris that referenced this pull request Nov 20, 2024
hubgeter added a commit to hubgeter/doris that referenced this pull request Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. dev/2.1.7-merged dev/3.0.3-merged reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants