메뉴 건너뛰기

Cloudera, BigData, Semantic IoT, Hadoop, NoSQL

Cloudera CDH/CDP 및 Hadoop EcoSystem, Semantic IoT등의 개발/운영 기술을 정리합니다. gooper@gooper.com로 문의 주세요.


update를 사용하는 경우는 uri는 기존에 있으며 값만 변경되는 경우는 update형태를 사용하며

delete->insert는 uri를 이용하여 새로운것을 만들고 새로이 만들어진 uri가 삭제될 수 있다면 delete->insert현태를 사용해야한다.


<update> : 기존에 uri가 있는 경우의 구문


delete  { <http://www.gooper.com/test/HumidityObservationValue_LR0001> <http://data.nasa.gov/qudt/owl/qudt#hasNumericValue>  ?delete_dest. }
insert  { <http://www.gooper.com/test/HumidityObservationValue_LR0001> <http://data.nasa.gov/qudt/owl/qudt#hasNumericValue>  0 . }
WHERE   { <http://www.gooper.com/test/HumidityObservationValue_LR0001> <http://data.nasa.gov/qudt/owl/qudt#hasNumericValue> ?delete_dest . }


-----------------------------------------------------------------------------

<delete->insert> : 기존에 uri가 없는 상태에서의 update형태

<delete>

prefix xsd: <http://www.w3.org/2001/XMLSchema#>
delete { <http://www.gooper.com/test/HumidityObservationValue_LR0001>  <http://www.loa-cnr.it/ontologies/DUL.owl#hasLocation> ?O }
WHERE  { <http://www.gooper.com/test/HumidityObservationValue_LR0001>  <http://www.loa-cnr.it/ontologies/DUL.owl#hasLocation> ?O }


<insert>

prefix xsd: <http://www.w3.org/2001/XMLSchema#>
insert data { <http://www.gooper.com/test/HumidityObservationValue_LR0001>  <http://www.loa-cnr.it/ontologies/DUL.owl#hasLocation> "<http://www.gooper.com/test/AA0001>"^^xsd:anyURI }

번호 제목 날짜 조회 수
590 FAILED: IllegalStateException Variable substitution depth too large: 40 오류발생시 조치사항 2014.08.19 4585
589 [CDP7.1.7, Hive Replication]Hive Replication진행중 "The following columns have types incompatible with the existing columns in their respective positions " 오류 2023.12.27 4582
588 [Kerberos]병렬 kinit 호출시 cache파일이 손상되어 Bad format in credentials cache 혹은 No credentials cache found 혹은 Internal credentials cache error 오류 발생시 2023.01.20 4582
587 [CDP7.1.7]EncryptionZone에 table생성및 권한 테스트 2023.09.26 4579
586 python test.py실행시 "ImportError: No module named pyspark" 혹은 "ImportError: No module named py4j.protocol"등의 오류 발생시 조치사항 2017.07.04 4574
585 column family삭제시 Column family 'delete' does not exist오류 발생하는 경우 2014.04.14 4571
584 [2.7.2] distribute-exclude.sh사용할때 ssh 포트변경에 따른 오류발생시 조치사항 2018.01.02 4569
583 kudu table와 impala(hive) table정보가 틀어져서 테이블을 읽지 못하는 경우(Error Loading Metadata) 조치방법 2023.11.10 4566
582 hbase가 기동시키는 zookeeper에서 받아드리는 ip가 IPv6로 사용되는 경우가 있는데 이를 IPv4로 강제적용하는 방법 2015.05.08 4566
581 missing block및 관련 파일명 찾는 명령어 2021.02.20 4565
580 "Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient resources"오류 발생시 조치사항 2016.05.25 4562
579 [DBeaver 4.3.0]import/export시 "Client home is not specified for connection" 오류발생시 조치사항 2017.12.21 4560
578 oozie가 말하는 start시간은..서버에서 확인되는 시간이 아닙니다. 2014.05.14 4557
577 [sbt] sbt-assembly를 이용하여 실행에 필요한 모든 j라이브러리를 포함한 fat jar파일 만들기 2016.07.11 4556
576 [CDP7.1.6,HDFS]HDFS파일을 삭제하고 Trash비움이 완료된후에도 HDFS 공간을 차지하고 있는 경우 확인/조치 방법 2023.07.17 4547
575 update 샘플 2018.03.12 4546
574 [CDP7.1.7]Hive Replication수행시 Target Cluster에서 Specified catalog.database.table does not exist 오류 2024.05.08 4536
573 json serde사용법 2014.04.17 4535
572 [Hue]Hue의 메타정보를 담고 있는 desktop_document테이블과 desktop_document2의 관계 2022.05.09 4529
571 ../depcomp: line 512 exec : g++ : not found 2013.03.08 4527
위로