-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
arc.select() drops relationship field. #36
Comments
Looks good to me. Line 1 column 3 - "NEST_ID" |
Sorry. That was a typo. The field that I'm looking for is NEST_GUID. NEST_GUID is the field that is related to a feature class. NEST_ID is the name of the nest. |
By default test@fields$NEST_GUID I guess , NEST_GUID column is GUID type? if so, you can explicitly include this field into a search and it will be converted to a string. test<-arc.open('//some/path/CO_EDT_User.sde/dbSCHMEA.Nest_Productivity')
d<-arc.select(test, c('*', 'NEST_GUID')
# or
d<-arc.select(test, names(test@fields))
|
Yes, NEST_GUID is a GUID field.
I tried both of your solutions and both still strip the field.
It's weird because GlobalID contains an ID string similar to NEST_GUID and it is converted to a Character just fine. But for whatever reason the NEST_GUID, GUID field is removed even though it contains similar character strings. Testing further: trying to just select the GlobalID works, but selecting NEST_GUID returns an error:
|
You are right. GUID field always skipped. I'm going to fix it in the next build. |
@dpavlushko Great! I think always including them as a string seems right, that's the datatype that packages like UUID use when working with UUIDs in R. |
@dpavlushko Awesome. Much appreciated. |
@mschmidty This should be fixed in the v239 release -- if you still see this issue, let us know and we can reopen this. Thanks for the report! |
Not sure why, but when you use
arc.select()
ondataset_type:Table
it drops the relationship field.Output:
NEST_GUID
is in the field list.But then:
NEST_GUID
Disappears???? Is this the intended functionality?The text was updated successfully, but these errors were encountered: