domoritz commented on code in PR #377:
URL: https://github.com/apache/arrow-js/pull/377#discussion_r2775609757


##########
src/data.ts:
##########
@@ -41,6 +41,9 @@ export interface Buffers<T extends DataType> {
     [BufferType.TYPE]: T['TArray'];
 }
 
+/** @ignore */
+const kDataSymbol = Symbol.for('apache-arrow/Data');

Review Comment:
   This is a good solution. We just need to make sure to not accidentally use 
`Symbol()` instead of `Symbol.for` since the former does not create unique 
instances. 



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

Reply via email to