[ 
https://issues.apache.org/jira/browse/DRILL-5219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15852976#comment-15852976
 ] 

Laurent Goujon commented on DRILL-5219:
---------------------------------------

The idea is that an older client can provide information for a newer server 
without protocol change like the default quoting mechanism, or some special 
behavior an application might require. I consider that user properties are 
similar to HTTP header fields where some are part of the specs, and that client 
and server should abide by them, but clients can send any header, with the 
assumption that the server might not recognize it and will ignore it. 

Having user properties being filtered by the client means that if the end user 
wants to provide extra context to the server, it needs to update to a new 
client, which is sometimes an issue in some organizations. Also the ODBC driver 
release process is a long and complex one, so I believe that there is value of 
keeping a way to pass informations around without having to change the client.

> Remove DrillUserProperties filtering in C++ driver
> --------------------------------------------------
>
>                 Key: DRILL-5219
>                 URL: https://issues.apache.org/jira/browse/DRILL-5219
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Client - C++
>            Reporter: Laurent Goujon
>            Assignee: Laurent Goujon
>            Priority: Minor
>
> Unlike the Java client, the C++ connector filter out unknown Drill user 
> properties:
> https://github.com/apache/drill/blob/master/contrib/native/client/src/clientlib/drillClientImpl.cpp#L374
> This prevents a client (like the ODBC driver) to pass extra properties to the 
> server (like extra metainformation, or some specific behavior for a given 
> software)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to