Skip to content

Conversation

@adonis0147
Copy link
Contributor

Proposed changes

Issue Number: close #8074 .

Problem Summary:

Please refer to #8074 .

Checklist(Required)

  1. Does it affect the original behavior: No.
  2. Has unit tests been added: Yes.
  3. Has document been added or modified: No.
  4. Does it need to update dependencies: No.
  5. Are there any changes that cannot be rolled back: No.

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

BiteTheDDDDt and others added 30 commits February 9, 2022 13:05
1. reuse Schema to avoid copying, because clone Schema will generate a lot of sub Field object
2. call interface provided by Block to reduce code lines
fix ltrim result may incorrect in some case
according to https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html
Built-in Function: int __builtin_cl/tz (unsigned int x)
If x is 0, the result is undefined.
So we handle the case of 0 separately

this function return different between gcc and clang when x is 0
…view on the view (apache#7968)

If the tableRef behind represents a CTE or a view,
the tableRef will be reset during semantic parsing.
The new tableRef needs to inherit the lateral view property of the origin tableRef
to ensure that the lateral view is not accidentally lost during parsing.
…pache#7975)

This PR apache#7936 change some FE log level to debug, so that when error happens, it is not easy to find out
which SQL cause the error.
So I add stmt id and query id in error log, so that user can use these identifiers to find SQL in fe.audit.log
…le structure information (apache#7955)

1. Added http interface return example in table-schema-action.md.
2. Correct typos in the document in error.md.
3. Modify the content of the code comments in the text_converter.hpp file.
…ort refresh iceberg table or db. (apache#7981)

1. Add `iceberg_table_creation_strict_mode` in `fe.conf` to control iceberg external table creation, when data type  is not supported in Doris.
2. Add `REFRESH` syntax to synchronize the Iceberg table and database.
3. Support create Iceberg external table with specific column definitions.
Translate the Chinese comments of file /be/src/common/config.h
Correct format of mysql jdbc failover auto-retry url.
… fPIC tag to build and we will remove all fPIC tag in the future (apache#8008)
…mcVJ$sp(long)

Fix MyForeachPartitionFunction.java:xxx:xxx
java: org.apache.doris.demo.spark.demo.hdfs.MyForeachPartitionFunction is not abstract and does not override abstract method apply$mcVJ$sp(long) in scala.Function1
* support function locate in vectorized engine

* add ut and fix some bug
…pache#8026)

1. remove snapshot converter
2. remove unused protobuf definitions
3. move some macro as const variables
…e data, the field is the wrong problem (apache#8016)

Solve the problem that the web UI playground preview table data, the field is the wrong problem
littleeleventhwolf and others added 5 commits February 14, 2022 09:30
1. 3各 -> 3个
2. add right quote to `show proc "/cluster_balance/`
…blet sink bugs (apache#8000)

1. set both `tuple_offsets` and `new_tuple_offsets` in PRowBatch for compatibility
2. set FE config `repair_slow_replica` default to false
   Avoid impacting the load process after upgrading.
   Eg, if there are only 2 replicas, one is with high version count. After upgrade,
   that replica will be set to bad, so that the load process will be stopped
   because only 1 replica is alive.
3. Fix a bug that NodeChannel may be blocked at `close_wait()`
   Forget to set `add_batch_finish` flag after the last rpc finished.
4. Fix a NPE of RoutineLoadScheduler
Add following 5 contributors:

jackwener
qidaye
tinkerrrr
luzhijing
spaces-X
    Use format `[element1, element2, ..., elementN]` to indicate the
    value of a column with array type.
@adonis0147
Copy link
Contributor Author

Hi @yangzhg , please review this pr when you are free. This pr is for the branch array-type.

@adonis0147 adonis0147 changed the title Array type dev 1 [Feature] [array-type] Support ArrayLiteral in SQL. Feb 16, 2022
@morningman
Copy link
Contributor

hi @adonis0147 , your commit history is mess up. Please resolve it.

@adonis0147
Copy link
Contributor Author

Hi @morningman , I rebased the master in order to merge the branch into master for convenience in future. I'm sorry to mess the commit history up.
I tried to resolve it by force push my commits to my own branch, but it didn't help. Therefore, I opened a new pull request #8089 . Please take a look when you are free.

@adonis0147 adonis0147 closed this Feb 16, 2022
@adonis0147 adonis0147 deleted the array-type-dev-1 branch February 18, 2022 07:09
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.