You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "bobhan1 (via GitHub)" <gi...@apache.org> on 2023/03/05 13:30:52 UTC
[GitHub] [doris] bobhan1 opened a new issue, #17433: [Feature] (array_function) support array_flatten function
bobhan1 opened a new issue, #17433:
URL: https://github.com/apache/doris/issues/17433
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues.
### Description
_No response_
### Use case
_No response_
### Related issues
_No response_
### Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
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: commits-unsubscribe@doris.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [doris] eldenmoon commented on issue #17433: [Feature] (array_function) support array_flatten function
Posted by "eldenmoon (via GitHub)" <gi...@apache.org>.
eldenmoon commented on issue #17433:
URL: https://github.com/apache/doris/issues/17433#issuecomment-1455122303
@bobhan1 you could reference to function `array()`, it has a promotion rule, you could try it to test.
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [doris] bobhan1 closed issue #17433: [Feature] (array_function) support array_flatten function
Posted by "bobhan1 (via GitHub)" <gi...@apache.org>.
bobhan1 closed issue #17433: [Feature] (array_function) support array_flatten function
URL: https://github.com/apache/doris/issues/17433
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [doris] bobhan1 commented on issue #17433: [Feature] (array_function) support array_flatten function
Posted by "bobhan1 (via GitHub)" <gi...@apache.org>.
bobhan1 commented on issue #17433:
URL: https://github.com/apache/doris/issues/17433#issuecomment-1455440392
> > > @bobhan1 you could reference to function `array()`, it has a promotion rule, you could try it to test.
> >
> >
> > It seems that it doesn't support nested array now? I add some nested array test for `array()` in `test_array_functions_by_literal.groovy` and it fails.
> > ```
> > qt_sql "select array([])"
> > qt_sql "select array([1, 2], [3], [4, 5])"
> > ```
>
> Yes we do not support nested array for now, i'll disscuss this feature soon.But before the nested array compleletd, could you please pick anthoer array function?
OK, I'll try another one. Please remove me out from the table in doris future
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [doris] bobhan1 commented on issue #17433: [Feature] (array_function) support array_flatten function
Posted by "bobhan1 (via GitHub)" <gi...@apache.org>.
bobhan1 commented on issue #17433:
URL: https://github.com/apache/doris/issues/17433#issuecomment-1455093290
Do we need to do type conversion or promotion if the type of the values in innermost arrays are different with each other?
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [doris] bobhan1 commented on issue #17433: [Feature] (array_function) support array_flatten function
Posted by "bobhan1 (via GitHub)" <gi...@apache.org>.
bobhan1 commented on issue #17433:
URL: https://github.com/apache/doris/issues/17433#issuecomment-1455280113
> @bobhan1 you could reference to function `array()`, it has a promotion rule, you could try it to test.
It seems that it doesn't support nested array now? I add some nested array test for `array()` in `test_array_functions_by_literal.groovy` and it fails.
```
qt_sql "select array([])"
qt_sql "select array([1, 2], [3], [4, 5])"
```
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [doris] eldenmoon commented on issue #17433: [Feature] (array_function) support array_flatten function
Posted by "eldenmoon (via GitHub)" <gi...@apache.org>.
eldenmoon commented on issue #17433:
URL: https://github.com/apache/doris/issues/17433#issuecomment-1455347266
> > @bobhan1 you could reference to function `array()`, it has a promotion rule, you could try it to test.
>
> It seems that it doesn't support nested array now? I add some nested array test for `array()` in `test_array_functions_by_literal.groovy` and it fails.
>
> ```
> qt_sql "select array([])"
> qt_sql "select array([1, 2], [3], [4, 5])"
> ```
Yes we do not support nested array for now, i'll disscuss this feature soon.But before the nested array compleletd, could you please pick anthoer array function?
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org