kumarUjjawal commented on code in PR #21739:
URL: https://github.com/apache/datafusion/pull/21739#discussion_r3223574244


##########
datafusion/proto/src/physical_plan/mod.rs:
##########
@@ -118,6 +118,58 @@ use crate::{convert_required, into_required};
 pub mod from_proto;
 pub mod to_proto;
 
+const HUMAN_DISPLAY_ALIAS_PREFIX: &str = 
"\u{1f}datafusion_human_display_alias_v1:";
+
+fn encode_human_display_alias(human_display: &str, alias: &str) -> String {
+    format!(
+        "{HUMAN_DISPLAY_ALIAS_PREFIX}{}:{alias}{human_display}",

Review Comment:
   The current prefix is less pretty for consumers, but it keeps the roundtrip 
lossless and avoids guessing.



-- 
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