ag-ramachandran opened a new pull request, #37890:
URL: https://github.com/apache/superset/pull/37890

   ** Generated notes **
   
   This pull request enhances the Kusto engine spec in Superset by adding 
support for KQL-specific features and improving query handling. The main 
changes include custom handling for null filters, new methods for 
epoch-to-datetime conversions, improved processing of ARRAY wrappers in 
queries, and corresponding unit tests to ensure correctness.
   
   **KQL-specific query and filter handling:**
   
   * Added a `handle_null_filter` method to generate KQL-compliant null and 
not-null filter expressions using `isnull` and `isnotnull` functions.
   * Implemented an `execute` method that processes queries to remove 
unnecessary `ARRAY()` wrappers around bracket-quoted identifiers before 
execution.
   
   **Date/time conversion enhancements:**
   
   * Added `epoch_to_dttm` and `epoch_ms_to_dttm` methods to provide KQL 
templates for converting epoch seconds and milliseconds to datetime.
   
   **Type mapping improvements:**
   
   * Introduced a `column_type_mappings` entry to map Kusto array types to 
string types in Superset.
   
   **Testing and validation:**
   
   * Added unit tests for the new null filter handling, epoch-to-datetime 
conversion methods, and the `execute` method’s ARRAY processing logic.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to