EveyWu opened a new issue #9602:  Does Druid support columnMapping
URL: https://github.com/apache/druid/issues/9602
 
 
   Does Druid support ``columnMapping`` like ``TableMapping``
   
   ```
        @Test
        public void tableMapping(){
                Map<String, String> mapping = Collections.singletonMap("user", 
"user_01");
                String sql = "select * from user";
                String result = SQLUtils.refactor(sql, JdbcConstants.MYSQL, 
mapping);
                assertEquals("SELECT *\n" +
                                "FROM user_01", result);
        }
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to