You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2020/04/02 06:44:35 UTC

[GitHub] [druid] EveyWu opened a new issue #9602: Does Druid support columnMapping

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] EveyWu closed issue #9602: Does Druid support ColumnMapping

Posted by GitBox <gi...@apache.org>.
EveyWu closed issue #9602:  Does Druid support ColumnMapping
URL: https://github.com/apache/druid/issues/9602
 
 
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org