Skip to content

Conversation

@eldenmoon
Copy link
Member

…nt_at for variant type (apache#38318)

…nt_at for variant type

src subcolumns empty but src row count may not be 0, so need to padding
rows to at least src.size() and finlize at last

```
[CANCELLED][E6] Parameter out of bound in IColumnStr<T>::insert_range_from me !
```
…ns` is empty (apache#38364)

Set rows correct when subcolumns is empty, and implement resize method
with correct semantic
This fix the potential crash with stack bellow
```
6# doris::vectorized::ColumnObject::get(unsigned long, doris::vectorized::Field&) const at /root/doris/be/src/vec/columns/column_object.cpp:841
7# doris::vectorized::ColumnObject::operator[](unsigned long) const at /root/doris/be/src/vec/columns/column_object.cpp:838
8# doris::vectorized::ColumnObject::insert_from(doris::vectorized::IColumn const&, unsigned long) in /home/work/unlimit_teamcity/TeamCity/Agents/20240725170551agent_172.16.0.48_1/work/60183217f6ee2a9c/output/be/lib/doris_be
9# doris::vectorized::ColumnObject::insert_indices_from(doris::vectorized::IColumn const&, unsigned int const*, unsigned int const*) at /root/doris/be/src/vec/columns/column_object.cpp:1581
```
…tring_as_string` should consider others types include date,datateime,array ... (apache#38291)
…th (apache#38213)

```
curl --location-trusted -u root:  -T value.json -H "read_json_by_line:true" -H "format:json"  -H "max_filter_ratio:0.5" -H "jsonpaths: [\"$.id\", \"$.entity_id\", \"$.\"]" http://127.0.0.1:8149/api/regression_test/records/_stream_load
```
…t` (apache#38413)

1. storage type maybe missmatch with predicate type eg. cast(v['a'] as
date) = '2020-01-01'. v['a'] in storage is string type, but predicate
type is date type

2. serialization object with empty subcolumns may lost num_rows, so need
to record num_rows and set back num_rows in serdes
@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.

@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@eldenmoon eldenmoon merged commit 70c308c into apache:branch-3.0 Jul 30, 2024
@gavinchou gavinchou mentioned this pull request Aug 19, 2024
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.

2 participants