Skip to content

Conversation

@zhangstar333
Copy link
Contributor

Versions

  • dev
  • 3.0
  • 2.1
  • 2.0

Languages

  • Chinese
  • English

Docs Checklist

  • Checked by AI
  • Test Cases Built

zhangstar333 added a commit to apache/doris that referenced this pull request Jul 10, 2025
### What problem does this PR solve?
Problem Summary:

* In MySQL, LOG(col, e) is equivalent to LN(col), where e is Euler’s
number (~2.71828).
* Currently, MySQL also supports LOG(col) as a shorthand for LOG(col, e)
(i.e., natural logarithm).
* This conversion replaces LOG(col) with LN(col) when only a single
argument is provided.
 
 doc: apache/doris-website#2605
zhangstar333 added a commit to zhangstar333/incubator-doris that referenced this pull request Jul 15, 2025
Problem Summary:

* In MySQL, LOG(col, e) is equivalent to LN(col), where e is Euler’s
number (~2.71828).
* Currently, MySQL also supports LOG(col) as a shorthand for LOG(col, e)
(i.e., natural logarithm).
* This conversion replaces LOG(col) with LN(col) when only a single
argument is provided.

 doc: apache/doris-website#2605
zhangstar333 added a commit to zhangstar333/incubator-doris that referenced this pull request Jul 15, 2025
Problem Summary:

* In MySQL, LOG(col, e) is equivalent to LN(col), where e is Euler’s
number (~2.71828).
* Currently, MySQL also supports LOG(col) as a shorthand for LOG(col, e)
(i.e., natural logarithm).
* This conversion replaces LOG(col) with LN(col) when only a single
argument is provided.

 doc: apache/doris-website#2605
@zhangstar333 zhangstar333 merged commit 6aa2398 into apache:master Jul 18, 2025
1 check passed
yiguolei pushed a commit that referenced this pull request Aug 13, 2025
introduced in #2566 and
#2605

## Versions 

- [x] dev
- [ ] 3.0
- [ ] 2.1
- [ ] 2.0

## Languages

- [x] Chinese
- [x] English

## Docs Checklist

- [ ] Checked by AI
- [ ] Test Cases Built
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant