arjun12102019

Results 13 issues of arjun12102019

Why do we require explicit thread safety using synchronized block for "metrics" map in "AbstractMetricsContext" class. ![image](https://github.com/apache/seatunnel/assets/166740820/4f7cc3a9-c588-4b92-aefa-d21b4ee51f8f) metrics is concurrentHashmap and which will take care of thread safety by default...

If an exception occurs while setting the schema in the method "queryDatabaseSchema", countDown() will not be called for that thread, resulting in a deadlock situation at "countDownLatch.await()" ![image](https://github.com/chat2db/Chat2DB/assets/166740820/061a1863-0721-4637-97aa-2a1b209e9f04) and observed...

question

Changes for issue : #1362 If method size increases, it will lead to destruction of readability, maintainability, code reusability, etc.

The following method was found to have higher cyclomatic complexity Method Class getDDL H2Meta, buildCreateTableSql ClickHouseSqlBuilder, HiveSqlBuilder etc. If method size increases, it will lead to destruction of readability, maintainability,...

修復以下用例 如果在方法「queryDatabaseSchema」中設定架構時發生異常,則不會為該執行緒呼叫 countDown(),從而導致「countDownLatch.await()」出現死鎖情況

### What this PR does / why we need it? Optimized code by using Java streams instead of using former for loops to improve performance when we create SymbolTable object...

### What this PR does / why we need it? JSONObject.from(Object obj) Currently we have only method which expects type Object and getting class cast exception when we pass string...

I need to override methods in RdbWebConverter to support GROUP BY functionality in SQL queries. For this purpose, we have introduced a new API method: Public abstract GroupByParam request2param(GroupByRequest request);...

Added new API to support Group By clause in SQL queries. Introduced Rest API "/get_group_by_sql" which will append a Group By clause to existing queries. Please review the changes: https://github.com/chat2db/Chat2DB/pull/1366/commits/f6315afeb6b929ac3149f82649dbcae4e8008c73....

Changes related to https://github.com/chat2db/Chat2DB/issues/1402