{"paragraphs":[{"text":"%md\n# Load face data\n","user":"anonymous","dateUpdated":"2020-11-10T15:59:29+0900","config":{"colWidth":12,"fontSize":9,"enabled":true,"results":{},"editorSetting":{"language":"markdown","editOnDblClick":true,"completionKey":"TAB","completionSupport":false},"editorMode":"ace/mode/markdown","editorHide":true,"tableHide":false},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"HTML","data":"
\n

Load face data

\n
"}]},"apps":[],"jobName":"paragraph_1604984577516_-1679294965","id":"20201110-140257_2054431448","dateCreated":"2020-11-10T14:02:57+0900","dateStarted":"2020-11-10T15:59:29+0900","dateFinished":"2020-11-10T15:59:29+0900","status":"FINISHED","progressUpdateIntervalMs":500,"focus":true,"$$hashKey":"object:54155"},{"text":"%spark\nimport org.apache.spark.sql.functions._\nimport org.apache.spark.sql.r2.UDF.R2UDFs\n\nval toFloatArray = udf(R2UDFs.toFloatArray)\nval fnvHash = udf(R2UDFs.fnvHash)\n\nR2UDFs.register()\nval r2Option = Map(\"table\" -> \"300\",\n \"host\" -> \"d201\",\n \"port\" -> \"18400\",\n \"partitions\" -> \"nvhash\",\n \"mode\" -> \"nvkvs\",\n \"at_least_one_partition_enabled\" -> \"no\")\n \nspark.sqlContext.read.format(\"csv\")\n .option(\"sep\", \"|\")\n .option(\"header\", \"false\")\n .option(\"inferSchema\", \"true\")\n .load(\"/face_data/csv/*.csv\")\n .withColumnRenamed(\"_c0\", \"group\")\n .withColumnRenamed(\"_c1\", \"subgroup\")\n .withColumnRenamed(\"_c2\", \"subject\")\n .withColumnRenamed(\"_c3\", \"face\")\n .withColumnRenamed(\"_c4\", \"raw_feature\")\n .withColumn(\"feature\", toFloatArray(split(col(\"raw_feature\"), \",\")))\n .select(\"group\", \"subgroup\", \"subject\", \"face\", \"feature\")\n .withColumn(\"nvhash\", fnvHash(col(\"face\"), functions.lit(30)))\n .write\n .format(\"r2\")\n .options(r2Options)\n .mode(\"append\")\n .save()","user":"anonymous","dateUpdated":"2020-11-10T14:08:16+0900","config":{"colWidth":12,"fontSize":9,"enabled":true,"results":{},"editorSetting":{"language":"scala","editOnDblClick":false,"completionKey":"TAB","completionSupport":true},"editorMode":"ace/mode/scala"},"settings":{"params":{},"forms":{}},"apps":[],"jobName":"paragraph_1604984370905_-2044162093","id":"20201110-135930_363352625","dateCreated":"2020-11-10T13:59:30+0900","status":"READY","progressUpdateIntervalMs":500,"$$hashKey":"object:54156"},{"text":"%md\n# Create table\n","user":"anonymous","dateUpdated":"2020-11-10T14:10:39+0900","config":{"colWidth":12,"fontSize":9,"enabled":true,"results":{},"editorSetting":{"language":"markdown","editOnDblClick":true,"completionKey":"TAB","completionSupport":false},"editorMode":"ace/mode/markdown","editorHide":true,"tableHide":false},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"HTML","data":"
\n

Create table

\n
"}]},"apps":[],"jobName":"paragraph_1604984417169_874275025","id":"20201110-140017_23826441","dateCreated":"2020-11-10T14:00:17+0900","dateStarted":"2020-11-10T14:10:39+0900","dateFinished":"2020-11-10T14:10:39+0900","status":"FINISHED","progressUpdateIntervalMs":500,"$$hashKey":"object:54157"},{"text":"%spark\nimport org.apache.spark.sql.types._\nimport org.apache.spark.sql.r2.UDF.R2UDFs\n\nval fields = \"group_id,app_id,subject_id,face_id,feature,nvhash\".split(\",\").map(\n fieldName => {\n if (\"feature\".equals(fieldName)) {\n StructField(fieldName, ArrayType(FloatType))\n } else {\n StructField(fieldName, StringType)\n }\n }\n)\nval faceTableSchema = StructType(fields)\n\n\nspark.sqlContext.read.format(\"r2\")\n .schema(faceTableSchema)\n .options(r2Option)\n .load()\n .createOrReplaceTempView(\"face_1m\")","user":"anonymous","dateUpdated":"2020-11-10T14:01:58+0900","config":{"editorSetting":{"language":"scala","editOnDblClick":false,"completionKey":"TAB","completionSupport":true},"colWidth":12,"editorMode":"ace/mode/scala","fontSize":9,"results":{},"enabled":true},"settings":{"params":{},"forms":{}},"apps":[],"jobName":"paragraph_1604983815407_698862019","id":"20201027-103647_473164941","dateCreated":"2020-11-10T13:50:15+0900","status":"READY","errorMessage":"","progressUpdateIntervalMs":500,"$$hashKey":"object:54158"},{"text":"%md\n# Do test query\n","user":"anonymous","dateUpdated":"2020-11-10T16:01:12+0900","config":{"colWidth":12,"fontSize":9,"enabled":true,"results":{},"editorSetting":{"language":"markdown","editOnDblClick":true,"completionKey":"TAB","completionSupport":false},"editorMode":"ace/mode/markdown","editorHide":true,"tableHide":false},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"HTML","data":"
\n

Do test query

\n
"}]},"apps":[],"jobName":"paragraph_1604984362235_-1225061979","id":"20201110-135922_1889952548","dateCreated":"2020-11-10T13:59:22+0900","dateStarted":"2020-11-10T16:01:12+0900","dateFinished":"2020-11-10T16:01:12+0900","status":"FINISHED","progressUpdateIntervalMs":500,"$$hashKey":"object:54159"},{"text":"%sql\nSELECT * FROM face_1m LIMIT 1","user":"anonymous","dateUpdated":"2020-11-10T13:50:15+0900","config":{"editorSetting":{"language":"sql","editOnDblClick":false,"completionKey":"TAB","completionSupport":true},"colWidth":12,"editorMode":"ace/mode/sql","fontSize":9,"results":{"0":{"graph":{"mode":"table","height":300,"optionOpen":false,"setting":{"table":{"tableGridState":{},"tableColumnTypeState":{"names":{"group_id":"string","app_id":"string","subject_id":"string","face_id":"string","feature":"string","nvhash":"string"},"updated":false},"tableOptionSpecHash":"[{\"name\":\"useFilter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable filter for columns\"},{\"name\":\"showPagination\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable pagination for better navigation\"},{\"name\":\"showAggregationFooter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable a footer for displaying aggregated values\"}]","tableOptionValue":{"useFilter":false,"showPagination":false,"showAggregationFooter":false},"updated":false,"initialized":false}},"commonSetting":{}}}},"enabled":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TABLE","data":"group_id\tapp_id\tsubject_id\tface_id\tfeature\tnvhash\nMK12NOP92L\tZ109APIOWE\tZLEIB4D2S5\tBO3XAOJLLI\tWrappedArray(0.01617763, -0.00217791, 0.04028281, 0.05795416, -0.00563593, 0.06197706, 0.09172168, 0.02170813, 0.08052547, -0.01530496, 0.02162257, 0.0175172, 0.02155981, 0.06046176, 0.09263486, 0.05809376, 0.04672543, 0.0182937, 0.05297, -0.00984172, -0.02288903, 0.00551924, 0.01842718, -0.04657611, -0.02995846, -0.0078774, 0.01683738, -0.00503141, -0.00381073, 0.04420407, 0.05514868, 0.11676843, 0.00345656, 0.08673371, 0.05564253, -0.03275654, 0.08493117, -0.02511647, 0.01161119, 0.00560936, -0.00264413, 0.0611553, -0.0050323, 0.04694766, 0.01390632, -1.546E-5, 0.04691987, 0.02035069, -0.03567927, -0.05087868, 0.03807979, 0.07341574, 0.00457817, -0.0020868, 0.0120833, 0.04942752, 0.01444892, 0.05307991, 0.05371759, 0.05841383, 0.07593168, -0.03967108, 0.0271151, 0.03191591, 0.01937761, 0.11241976, -0.02805418, 0.03391699, 0.01635153, -0.021656, 0.00287059, -0.00134414, -0.0532104, -0.01942205, 0.01847777, 0.00355528, 0.02176087, 0.05941677, -0.03459914, 0.03413395, 0.06128833, 0.090715, 0.04081218, 0.01305019, 0.07441495, 0.06688377, -0.017922, -0.0097238, 0.00386259, 0.04352745, 0.04762313, -0.02024207, 0.03381597, -0.04719281, 8.1029E-4, 0.00222659, -0.00872397, 0.02406369, 0.02320481, 0.03235196, 0.06397521, -9.0672E-4, 0.03536969, 0.01099129, -0.00573145, 0.00445954, 0.06337341, 0.01219812, 0.09488863, 0.00767067, 0.04114815, 0.00787631, -4.9431E-4, 0.03119265, -0.04947819, -0.02905966, 0.10355322, 0.00982363, 0.03387883, 0.05567059, -0.00309956, 0.05882746, 0.00573427, 0.02930831, 0.02914465, -0.04567672, 0.05191551, 0.00412221, 0.10272699, 4.5438E-4, 0.02877255, -0.01843778, 0.03099629, 0.04091956, 0.06932449, -9.0139E-4, 0.13855289, 0.08207504, 0.04222975, -0.02300907, -0.00618445, 0.0121431, 0.01445776, 0.03836541, 0.04598442, 0.02256474, -0.03543363, 0.02199024, 0.0703962, 0.04712917, 0.04837514, 0.05422687, -0.01326399, -0.02102404, -0.02461566, 0.01807811, 0.02770622, 0.02014182, 0.03334729, 0.02035928, -0.01117037, -0.01735267, 0.01604811, 0.03304548, 0.09600981, 0.05987363, -0.02215053, 0.02338995, 0.06588148, 0.0547662, 0.00601996, 0.03403213, 0.0090723, 0.00727731, 0.01978303, 0.0413383, 0.07256331, 0.03369021, 0.06971301, -0.01025027, -0.006813, 0.00144415, -0.02175963, 0.04076948, 0.03481359, 0.00847318, 0.06489654, 0.05178016, 0.05651122, 0.00253651, 0.07717646, 0.0091821, -0.00566503, -8.1749E-4, 0.02619764, 0.01316108, 0.01488741, 0.06571453, 0.08150466, 0.0485117, 0.03753247, 0.00462702, 0.06318832, 0.03877158, 0.00799363, 0.08358583, 0.06724945, 0.03258917, 0.01444424, 0.02222197, 0.05761936, -0.0174423, 0.04831, -0.0224184, -5.8441E-4, -0.00636611, 0.05374655, 0.0298249, 0.01532251, 0.07091593, 0.04749598, -0.02173297, 0.05138766, -0.01862569, 0.07055177, 0.00166534, 0.02404378, -0.01067972, 0.05718349, 0.03793203, -0.00911178, 0.02127587, 0.08678947, -0.04050308, 0.01619367, 7.6233E-4, 0.03704396, 0.0074975, 0.07800776, -0.02056384, 0.06496088, -0.05544113, 0.05774669, 0.01252091, 0.0206429, 0.00605352, -0.02648229, 0.06261562, -4.0497E-4, 0.01083588, 0.00530192, -0.02998433, 0.01696567, 0.10814457, 0.01052504, 0.01912342)\t40\n"},{"type":"TEXT","data":""}]},"apps":[],"jobName":"paragraph_1604983815409_-767179877","id":"20201027-105612_2013413892","dateCreated":"2020-11-10T13:50:15+0900","status":"READY","errorMessage":"","progressUpdateIntervalMs":500,"$$hashKey":"object:54160"},{"text":"%sql\nSELECT COUNT(1) FROM face_1m","user":"anonymous","dateUpdated":"2020-11-10T13:50:15+0900","config":{"editorSetting":{"language":"sql","editOnDblClick":false,"completionKey":"TAB","completionSupport":true},"colWidth":12,"editorMode":"ace/mode/sql","fontSize":9,"results":{"0":{"graph":{"mode":"table","height":300,"optionOpen":false,"setting":{"table":{"tableGridState":{},"tableColumnTypeState":{"names":{"count(1)":"string"},"updated":false},"tableOptionSpecHash":"[{\"name\":\"useFilter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable filter for columns\"},{\"name\":\"showPagination\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable pagination for better navigation\"},{\"name\":\"showAggregationFooter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable a footer for displaying aggregated values\"}]","tableOptionValue":{"useFilter":false,"showPagination":false,"showAggregationFooter":false},"updated":false,"initialized":false}},"commonSetting":{}}}},"enabled":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TABLE","data":"count(1)\n1959115\n"},{"type":"TEXT","data":""}]},"apps":[],"jobName":"paragraph_1604983815410_520901602","id":"20201027-112610_777860516","dateCreated":"2020-11-10T13:50:15+0900","status":"READY","errorMessage":"","progressUpdateIntervalMs":500,"$$hashKey":"object:54161"},{"text":"%md\n# Enable 'KNN SEARCH PUSHDOWN' feature\n","user":"anonymous","dateUpdated":"2020-11-10T14:09:49+0900","config":{"colWidth":12,"fontSize":9,"enabled":true,"results":{},"editorSetting":{"language":"markdown","editOnDblClick":true,"completionKey":"TAB","completionSupport":false},"editorMode":"ace/mode/markdown","editorHide":true,"tableHide":false},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"HTML","data":"
\n

Enable ‘KNN SEARCH PUSHDOWN’ feature

\n
"}]},"apps":[],"jobName":"paragraph_1604984938348_-959771650","id":"20201110-140858_318874762","dateCreated":"2020-11-10T14:08:58+0900","dateStarted":"2020-11-10T14:09:49+0900","dateFinished":"2020-11-10T14:09:49+0900","status":"FINISHED","progressUpdateIntervalMs":500,"$$hashKey":"object:54162"},{"text":"%sql\nSET spark.r2.knn.pushdown=true","user":"anonymous","dateUpdated":"2020-11-10T13:50:15+0900","config":{"editorSetting":{"language":"sql","editOnDblClick":false,"completionKey":"TAB","completionSupport":true},"colWidth":12,"editorMode":"ace/mode/sql","fontSize":9,"results":{"0":{"graph":{"mode":"table","height":300,"optionOpen":false,"setting":{"table":{"tableGridState":{},"tableColumnTypeState":{"names":{"key":"string","value":"string"},"updated":false},"tableOptionSpecHash":"[{\"name\":\"useFilter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable filter for columns\"},{\"name\":\"showPagination\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable pagination for better navigation\"},{\"name\":\"showAggregationFooter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable a footer for displaying aggregated values\"}]","tableOptionValue":{"useFilter":false,"showPagination":false,"showAggregationFooter":false},"updated":false,"initialized":false}},"commonSetting":{}}}},"enabled":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TABLE","data":"key\tvalue\nspark.r2.knn.pushdown\ttrue\n"},{"type":"TEXT","data":""}]},"apps":[],"jobName":"paragraph_1604983815410_-1172458470","id":"20201027-112503_885521013","dateCreated":"2020-11-10T13:50:15+0900","status":"READY","errorMessage":"","progressUpdateIntervalMs":500,"$$hashKey":"object:54163"},{"text":"%md\n# KNN search with using the udf(cosineDistance) of Lightning DB\n","user":"anonymous","dateUpdated":"2020-11-10T16:03:31+0900","config":{"colWidth":12,"fontSize":9,"enabled":true,"results":{},"editorSetting":{"language":"markdown","editOnDblClick":true,"completionKey":"TAB","completionSupport":false},"editorMode":"ace/mode/markdown","editorHide":true,"tableHide":false},"settings":{"params":{},"forms":{}},"apps":[],"jobName":"paragraph_1604991698591_1509587917","id":"20201110-160138_364977892","dateCreated":"2020-11-10T16:01:38+0900","status":"FINISHED","progressUpdateIntervalMs":500,"focus":true,"$$hashKey":"object:60968","dateFinished":"2020-11-10T16:03:31+0900","dateStarted":"2020-11-10T16:03:31+0900","results":{"code":"SUCCESS","msg":[{"type":"HTML","data":"
\n

KNN search with using the udf(cosineDistance) of Lightning DB

\n
"}]}},{"text":"%sql\nSELECT group_id, app_id, subject_id, face_id, cosineDistance(feature, toFloatArray(array(0.04074662,0.07717144,-0.01387950,0.01287790,0.04414229,0.03390900,0.03808868,0.03956917,0.00592308,-0.00935156,0.04414903,-0.01830893,-0.01918902,0.00154574,-0.02383651,-0.01054291,0.12655860,0.02075430,0.10315673,0.01371782,0.01522089,0.04304991,0.03376650,0.06703991,0.03827063,-0.00063873,0.02516229,0.07061137,0.08456459,-0.04103030,0.03004974,0.00297395,0.00295535,0.01112351,0.02805021,0.04350155,-0.00448326,0.04780317,0.10815978,-0.01784242,0.03320745,0.02912348,0.00183310,0.05318154,0.00922967,-0.04507693,0.01333585,0.00048346,-0.04612860,0.00427735,0.01232839,-0.00100568,0.03865110,0.01765136,-0.00942758,0.02383475,-0.01068696,0.08959154,0.08527020,0.03379998,-0.03852739,0.00607160,0.01309861,-0.01262910,0.00418265,0.03614477,-0.02971224,0.03703139,0.04333942,-0.03143747,0.06752674,-0.02173617,0.03583429,0.07731125,-0.02637132,-0.00395790,-0.04447101,0.03351297,0.08787052,0.00647665,0.03660145,-0.00640601,-0.01004024,0.00763107,0.04762240,-0.00068071,0.00863653,0.06126453,0.04588475,-0.03891076,0.07472295,0.02470182,0.08828569,0.01660202,0.02419317,0.09363404,0.05495216,0.01202847,0.00120040,-0.02136896,0.03100559,0.07371868,0.00986731,0.03934553,0.01289396,0.04705510,-0.02040175,0.01501585,0.00678832,0.03882410,0.02261387,0.02165552,-0.05097445,0.00240807,-0.04210005,0.00760698,-0.02904095,0.06572093,0.03549200,0.06070529,0.06948626,0.02832109,0.01669887,0.00914011,-0.00024529,-0.00124402,0.06481186,0.08246713,0.07499877,0.13112830,0.01034968,0.04224777,0.01175614,0.07395388,0.04937797,0.01561183,-0.03251049,0.05449009,0.04767901,-0.01149555,-0.02055555,-0.05990825,0.06633005,0.07592525,-0.04504610,0.03348448,0.04178635,0.01327751,0.02208084,0.08780535,-0.00799043,0.02236966,0.01560906,0.01171102,0.00814554,-0.00257578,0.08387835,-0.01018093,-0.02170087,0.03230520,0.00955880,-0.01824543,0.05438962,0.01805668,0.02112979,-0.01372666,-0.01057472,0.05453142,0.03742066,0.05534794,0.00977020,0.01991821,-0.00884413,0.09644359,0.02875310,0.10519003,0.05280351,-0.01918891,0.03197290,0.02722778,0.03450845,0.02669794,0.08618007,0.09387484,0.05103674,-0.01431658,0.00783211,-0.00434245,0.02062620,-0.00611403,0.06696083,0.01333337,-0.00156842,0.04325287,-0.05481976,0.01642864,-0.02679648,-0.00642413,0.03808333,0.06134293,0.06049823,0.03818581,0.03599750,-0.01651556,0.06601544,0.01385061,0.00730943,0.03045858,-0.00200028,0.04009718,0.04393080,-0.02568381,-0.01271287,-0.01860873,0.03669106,0.00154059,-0.04202117,0.07374570,-0.00380450,0.03164477,0.00637422,-0.02361638,0.01918917,0.01680134,0.01346881,0.02424449,-0.00504802,-0.06241146,0.08241857,0.02817723,0.02132487,0.08051144,0.06332499,0.02585857,-0.04057337,0.00279212,-0.00005161,-0.06566417,0.07860317,-0.01276221,0.06822366,-0.00191142,0.08534018,0.06014366,0.07053877,-0.01962799,0.08602677,-0.00817098,0.00302233,-0.10041475,-0.01908947,0.03235617,0.00931559,0.05451865,0.02233902,-0.01173994))) AS distance\nFROM face_1m\nORDER BY distance DESC\nLIMIT 20","user":"anonymous","dateUpdated":"2020-11-10T13:50:15+0900","config":{"editorSetting":{"language":"sql","editOnDblClick":false,"completionKey":"TAB","completionSupport":true},"colWidth":12,"editorMode":"ace/mode/sql","fontSize":9,"results":{"0":{"graph":{"mode":"table","height":300,"optionOpen":false,"setting":{"table":{"tableGridState":{},"tableColumnTypeState":{"names":{"group_id":"string","app_id":"string","subject_id":"string","face_id":"string","distance":"string"},"updated":false},"tableOptionSpecHash":"[{\"name\":\"useFilter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable filter for columns\"},{\"name\":\"showPagination\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable pagination for better navigation\"},{\"name\":\"showAggregationFooter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable a footer for displaying aggregated values\"}]","tableOptionValue":{"useFilter":false,"showPagination":false,"showAggregationFooter":false},"updated":false,"initialized":false}},"commonSetting":{}}}},"enabled":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TABLE","data":"group_id\tapp_id\tsubject_id\tface_id\tdistance\nMK12NOP92L\tZ109APIOWE\tIU252SIDID\tGY2ITMUTF0\t0.99999994\nMK12NOP92L\tZ109APIOWE\tIU252SIDID\t2NQRD8CS3S\t0.9841783\nMK12NOP92L\tZ109APIOWE\tIU252SIDID\tUKSDQ77U9Y\t0.9825851\nMK12NOP92L\tZ109APIOWE\tIU252SIDID\tWW3DSU3XUA\t0.9770674\nMK12NOP92L\tZ109APIOWE\tLBNF5RCVNH\tF5HMP7VMU0\t0.8087523\nMK12NOP92L\tZ109APIOWE\tLBNF5RCVNH\tD43I9SV002\t0.79944783\nMK12NOP92L\tZ109APIOWE\tLBNF5RCVNH\tJV0KBWYES3\t0.7897308\nMK12NOP92L\tZ109APIOWE\tLBNF5RCVNH\tPO2ERRTHZK\t0.78944063\nMK12NOP92L\tZ109APIOWE\tNDZITT31JY\tW8AR4H7SOC\t0.7870617\nMK12NOP92L\tZ109APIOWE\tLBNF5RCVNH\tEQ918ULGPO\t0.7852891\nMK12NOP92L\tZ109APIOWE\tJPFITFKZ5V\tE27FNEHK3E\t0.7852821\nMK12NOP92L\tZ109APIOWE\tLBNF5RCVNH\tTJUTGMXLSU\t0.7832407\nMK12NOP92L\tZ109APIOWE\tLBNF5RCVNH\tPR6SLFI9RC\t0.78221714\nMK12NOP92L\tZ109APIOWE\tLBNF5RCVNH\tZS1ZV0HNDY\t0.7791386\nMK12NOP92L\tZ109APIOWE\tLBNF5RCVNH\tFFJDELVCFT\t0.7783065\nMK12NOP92L\tZ109APIOWE\tP64JTEIZTG\tVAOVQCMSRU\t0.7762407\nMK12NOP92L\tZ109APIOWE\tLBNF5RCVNH\tJVLR76R05R\t0.7754586\nMK12NOP92L\tZ109APIOWE\t2VYC7YSX9L\tY8H99Y4I68\t0.77361214\nMK12NOP92L\tZ109APIOWE\tNDZITT31JY\tAMAVN0EDJV\t0.77343535\nMK12NOP92L\tZ109APIOWE\t78UALARKQL\tJ6CXVFZYOQ\t0.7723864\n"},{"type":"TEXT","data":""}]},"apps":[],"jobName":"paragraph_1604983815411_-1385658755","id":"20201027-105638_197988173","dateCreated":"2020-11-10T13:50:15+0900","status":"READY","errorMessage":"","progressUpdateIntervalMs":500,"$$hashKey":"object:54164"},{"text":"%sql\nSELECT group_id, app_id, subject_id, face_id, euclideanDistance(feature, toFloatArray(array(0.04074662,0.07717144,-0.01387950,0.01287790,0.04414229,0.03390900,0.03808868,0.03956917,0.00592308,-0.00935156,0.04414903,-0.01830893,-0.01918902,0.00154574,-0.02383651,-0.01054291,0.12655860,0.02075430,0.10315673,0.01371782,0.01522089,0.04304991,0.03376650,0.06703991,0.03827063,-0.00063873,0.02516229,0.07061137,0.08456459,-0.04103030,0.03004974,0.00297395,0.00295535,0.01112351,0.02805021,0.04350155,-0.00448326,0.04780317,0.10815978,-0.01784242,0.03320745,0.02912348,0.00183310,0.05318154,0.00922967,-0.04507693,0.01333585,0.00048346,-0.04612860,0.00427735,0.01232839,-0.00100568,0.03865110,0.01765136,-0.00942758,0.02383475,-0.01068696,0.08959154,0.08527020,0.03379998,-0.03852739,0.00607160,0.01309861,-0.01262910,0.00418265,0.03614477,-0.02971224,0.03703139,0.04333942,-0.03143747,0.06752674,-0.02173617,0.03583429,0.07731125,-0.02637132,-0.00395790,-0.04447101,0.03351297,0.08787052,0.00647665,0.03660145,-0.00640601,-0.01004024,0.00763107,0.04762240,-0.00068071,0.00863653,0.06126453,0.04588475,-0.03891076,0.07472295,0.02470182,0.08828569,0.01660202,0.02419317,0.09363404,0.05495216,0.01202847,0.00120040,-0.02136896,0.03100559,0.07371868,0.00986731,0.03934553,0.01289396,0.04705510,-0.02040175,0.01501585,0.00678832,0.03882410,0.02261387,0.02165552,-0.05097445,0.00240807,-0.04210005,0.00760698,-0.02904095,0.06572093,0.03549200,0.06070529,0.06948626,0.02832109,0.01669887,0.00914011,-0.00024529,-0.00124402,0.06481186,0.08246713,0.07499877,0.13112830,0.01034968,0.04224777,0.01175614,0.07395388,0.04937797,0.01561183,-0.03251049,0.05449009,0.04767901,-0.01149555,-0.02055555,-0.05990825,0.06633005,0.07592525,-0.04504610,0.03348448,0.04178635,0.01327751,0.02208084,0.08780535,-0.00799043,0.02236966,0.01560906,0.01171102,0.00814554,-0.00257578,0.08387835,-0.01018093,-0.02170087,0.03230520,0.00955880,-0.01824543,0.05438962,0.01805668,0.02112979,-0.01372666,-0.01057472,0.05453142,0.03742066,0.05534794,0.00977020,0.01991821,-0.00884413,0.09644359,0.02875310,0.10519003,0.05280351,-0.01918891,0.03197290,0.02722778,0.03450845,0.02669794,0.08618007,0.09387484,0.05103674,-0.01431658,0.00783211,-0.00434245,0.02062620,-0.00611403,0.06696083,0.01333337,-0.00156842,0.04325287,-0.05481976,0.01642864,-0.02679648,-0.00642413,0.03808333,0.06134293,0.06049823,0.03818581,0.03599750,-0.01651556,0.06601544,0.01385061,0.00730943,0.03045858,-0.00200028,0.04009718,0.04393080,-0.02568381,-0.01271287,-0.01860873,0.03669106,0.00154059,-0.04202117,0.07374570,-0.00380450,0.03164477,0.00637422,-0.02361638,0.01918917,0.01680134,0.01346881,0.02424449,-0.00504802,-0.06241146,0.08241857,0.02817723,0.02132487,0.08051144,0.06332499,0.02585857,-0.04057337,0.00279212,-0.00005161,-0.06566417,0.07860317,-0.01276221,0.06822366,-0.00191142,0.08534018,0.06014366,0.07053877,-0.01962799,0.08602677,-0.00817098,0.00302233,-0.10041475,-0.01908947,0.03235617,0.00931559,0.05451865,0.02233902,-0.01173994))) AS distance\nFROM face_1m\nORDER BY distance\nLIMIT 20\n","user":"anonymous","dateUpdated":"2020-11-10T13:50:15+0900","config":{"editorSetting":{"language":"sql","editOnDblClick":false,"completionKey":"TAB","completionSupport":true},"colWidth":12,"editorMode":"ace/mode/sql","fontSize":9,"results":{"0":{"graph":{"mode":"table","height":300,"optionOpen":false,"setting":{"table":{"tableGridState":{},"tableColumnTypeState":{"names":{"group_id":"string","app_id":"string","subject_id":"string","face_id":"string","distance":"string"},"updated":false},"tableOptionSpecHash":"[{\"name\":\"useFilter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable filter for columns\"},{\"name\":\"showPagination\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable pagination for better navigation\"},{\"name\":\"showAggregationFooter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable a footer for displaying aggregated values\"}]","tableOptionValue":{"useFilter":false,"showPagination":false,"showAggregationFooter":false},"updated":false,"initialized":false}},"commonSetting":{}}}},"enabled":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TABLE","data":"group_id\tapp_id\tsubject_id\tface_id\tdistance\nMK12NOP92L\tZ109APIOWE\tIU252SIDID\tGY2ITMUTF0\t0.0\nMK12NOP92L\tZ109APIOWE\tIU252SIDID\t2NQRD8CS3S\t0.124250576\nMK12NOP92L\tZ109APIOWE\tIU252SIDID\tUKSDQ77U9Y\t0.13224256\nMK12NOP92L\tZ109APIOWE\tIU252SIDID\tWW3DSU3XUA\t0.15265115\nMK12NOP92L\tZ109APIOWE\tLBNF5RCVNH\tF5HMP7VMU0\t0.43649504\nMK12NOP92L\tZ109APIOWE\tLBNF5RCVNH\tD43I9SV002\t0.4438003\nMK12NOP92L\tZ109APIOWE\tLBNF5RCVNH\tPO2ERRTHZK\t0.45356843\nMK12NOP92L\tZ109APIOWE\tLBNF5RCVNH\tJV0KBWYES3\t0.45455676\nMK12NOP92L\tZ109APIOWE\tJPFITFKZ5V\tE27FNEHK3E\t0.45569983\nMK12NOP92L\tZ109APIOWE\tLBNF5RCVNH\tTJUTGMXLSU\t0.46190575\nMK12NOP92L\tZ109APIOWE\tLBNF5RCVNH\tPR6SLFI9RC\t0.4621325\nMK12NOP92L\tZ109APIOWE\tNDZITT31JY\tW8AR4H7SOC\t0.46229216\nMK12NOP92L\tZ109APIOWE\tLBNF5RCVNH\tZS1ZV0HNDY\t0.46322557\nMK12NOP92L\tZ109APIOWE\tLBNF5RCVNH\tEQ918ULGPO\t0.46356374\nMK12NOP92L\tZ109APIOWE\t2VYC7YSX9L\tY8H99Y4I68\t0.46712327\nMK12NOP92L\tZ109APIOWE\tLBNF5RCVNH\tFFJDELVCFT\t0.46992737\nMK12NOP92L\tZ109APIOWE\t78UALARKQL\tJ6CXVFZYOQ\t0.47070885\nMK12NOP92L\tZ109APIOWE\tLBNF5RCVNH\tJVLR76R05R\t0.47133705\nMK12NOP92L\tZ109APIOWE\tU9XF7SY93M\tEK7EPCTX2K\t0.47176176\nMK12NOP92L\tZ109APIOWE\tP64JTEIZTG\tVAOVQCMSRU\t0.47239134\n"},{"type":"TEXT","data":""}]},"apps":[],"jobName":"paragraph_1604983815412_-1447109908","id":"20201027-110131_2049360245","dateCreated":"2020-11-10T13:50:15+0900","status":"READY","errorMessage":"","progressUpdateIntervalMs":500,"$$hashKey":"object:54165"},{"text":"%md\n# Disable 'KNN SEARCH PUSHDOWN' feature","user":"anonymous","dateUpdated":"2020-11-10T14:10:02+0900","config":{"colWidth":12,"fontSize":9,"enabled":true,"results":{},"editorSetting":{"language":"markdown","editOnDblClick":true,"completionKey":"TAB","completionSupport":false},"editorMode":"ace/mode/markdown","editorHide":true,"tableHide":false},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"HTML","data":"
\n

Disable ‘KNN SEARCH PUSHDOWN’ feature

\n
"}]},"apps":[],"jobName":"paragraph_1604984993336_584286072","id":"20201110-140953_1122238823","dateCreated":"2020-11-10T14:09:53+0900","dateStarted":"2020-11-10T14:10:02+0900","dateFinished":"2020-11-10T14:10:02+0900","status":"FINISHED","progressUpdateIntervalMs":500,"$$hashKey":"object:54166"},{"text":"%sql\nSET spark.r2.knn.pushdown=false","user":"anonymous","dateUpdated":"2020-11-10T13:50:15+0900","config":{"editorSetting":{"language":"sql","editOnDblClick":false,"completionKey":"TAB","completionSupport":true},"colWidth":12,"editorMode":"ace/mode/sql","fontSize":9,"results":{"0":{"graph":{"mode":"table","height":300,"optionOpen":false,"setting":{"table":{"tableGridState":{},"tableColumnTypeState":{"names":{"key":"string","value":"string"},"updated":false},"tableOptionSpecHash":"[{\"name\":\"useFilter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable filter for columns\"},{\"name\":\"showPagination\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable pagination for better navigation\"},{\"name\":\"showAggregationFooter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable a footer for displaying aggregated values\"}]","tableOptionValue":{"useFilter":false,"showPagination":false,"showAggregationFooter":false},"updated":false,"initialized":false}},"commonSetting":{}}}},"enabled":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TABLE","data":"key\tvalue\nspark.r2.knn.pushdown\tfalse\n"},{"type":"TEXT","data":""}]},"apps":[],"jobName":"paragraph_1604983815412_673579398","id":"20201027-110518_21684201","dateCreated":"2020-11-10T13:50:15+0900","status":"READY","errorMessage":"","progressUpdateIntervalMs":500,"$$hashKey":"object:54167"},{"text":"%md\n# KNN search with using the udf(cosineDistance) of Lightning DB","user":"anonymous","dateUpdated":"2020-11-10T16:03:41+0900","config":{"colWidth":12,"fontSize":9,"enabled":true,"results":{},"editorSetting":{"language":"markdown","editOnDblClick":true,"completionKey":"TAB","completionSupport":false},"editorMode":"ace/mode/markdown","editorHide":true,"tableHide":false},"settings":{"params":{},"forms":{}},"apps":[],"jobName":"paragraph_1604991817425_-870769127","id":"20201110-160337_383836200","dateCreated":"2020-11-10T16:03:37+0900","status":"FINISHED","progressUpdateIntervalMs":500,"focus":true,"$$hashKey":"object:61103","dateFinished":"2020-11-10T16:03:41+0900","dateStarted":"2020-11-10T16:03:41+0900","results":{"code":"SUCCESS","msg":[{"type":"HTML","data":"
\n

KNN search with using the udf(cosineDistance) of Lightning DB

\n
"}]}},{"text":"%sql\nSELECT group_id, app_id, subject_id, face_id, cosineDistance(feature, toFloatArray(array(0.04074662,0.07717144,-0.01387950,0.01287790,0.04414229,0.03390900,0.03808868,0.03956917,0.00592308,-0.00935156,0.04414903,-0.01830893,-0.01918902,0.00154574,-0.02383651,-0.01054291,0.12655860,0.02075430,0.10315673,0.01371782,0.01522089,0.04304991,0.03376650,0.06703991,0.03827063,-0.00063873,0.02516229,0.07061137,0.08456459,-0.04103030,0.03004974,0.00297395,0.00295535,0.01112351,0.02805021,0.04350155,-0.00448326,0.04780317,0.10815978,-0.01784242,0.03320745,0.02912348,0.00183310,0.05318154,0.00922967,-0.04507693,0.01333585,0.00048346,-0.04612860,0.00427735,0.01232839,-0.00100568,0.03865110,0.01765136,-0.00942758,0.02383475,-0.01068696,0.08959154,0.08527020,0.03379998,-0.03852739,0.00607160,0.01309861,-0.01262910,0.00418265,0.03614477,-0.02971224,0.03703139,0.04333942,-0.03143747,0.06752674,-0.02173617,0.03583429,0.07731125,-0.02637132,-0.00395790,-0.04447101,0.03351297,0.08787052,0.00647665,0.03660145,-0.00640601,-0.01004024,0.00763107,0.04762240,-0.00068071,0.00863653,0.06126453,0.04588475,-0.03891076,0.07472295,0.02470182,0.08828569,0.01660202,0.02419317,0.09363404,0.05495216,0.01202847,0.00120040,-0.02136896,0.03100559,0.07371868,0.00986731,0.03934553,0.01289396,0.04705510,-0.02040175,0.01501585,0.00678832,0.03882410,0.02261387,0.02165552,-0.05097445,0.00240807,-0.04210005,0.00760698,-0.02904095,0.06572093,0.03549200,0.06070529,0.06948626,0.02832109,0.01669887,0.00914011,-0.00024529,-0.00124402,0.06481186,0.08246713,0.07499877,0.13112830,0.01034968,0.04224777,0.01175614,0.07395388,0.04937797,0.01561183,-0.03251049,0.05449009,0.04767901,-0.01149555,-0.02055555,-0.05990825,0.06633005,0.07592525,-0.04504610,0.03348448,0.04178635,0.01327751,0.02208084,0.08780535,-0.00799043,0.02236966,0.01560906,0.01171102,0.00814554,-0.00257578,0.08387835,-0.01018093,-0.02170087,0.03230520,0.00955880,-0.01824543,0.05438962,0.01805668,0.02112979,-0.01372666,-0.01057472,0.05453142,0.03742066,0.05534794,0.00977020,0.01991821,-0.00884413,0.09644359,0.02875310,0.10519003,0.05280351,-0.01918891,0.03197290,0.02722778,0.03450845,0.02669794,0.08618007,0.09387484,0.05103674,-0.01431658,0.00783211,-0.00434245,0.02062620,-0.00611403,0.06696083,0.01333337,-0.00156842,0.04325287,-0.05481976,0.01642864,-0.02679648,-0.00642413,0.03808333,0.06134293,0.06049823,0.03818581,0.03599750,-0.01651556,0.06601544,0.01385061,0.00730943,0.03045858,-0.00200028,0.04009718,0.04393080,-0.02568381,-0.01271287,-0.01860873,0.03669106,0.00154059,-0.04202117,0.07374570,-0.00380450,0.03164477,0.00637422,-0.02361638,0.01918917,0.01680134,0.01346881,0.02424449,-0.00504802,-0.06241146,0.08241857,0.02817723,0.02132487,0.08051144,0.06332499,0.02585857,-0.04057337,0.00279212,-0.00005161,-0.06566417,0.07860317,-0.01276221,0.06822366,-0.00191142,0.08534018,0.06014366,0.07053877,-0.01962799,0.08602677,-0.00817098,0.00302233,-0.10041475,-0.01908947,0.03235617,0.00931559,0.05451865,0.02233902,-0.01173994))) AS distance\nFROM face_1m\nORDER BY distance DESC\nLIMIT 20\n","user":"anonymous","dateUpdated":"2020-11-10T13:50:15+0900","config":{"editorSetting":{"language":"sql","editOnDblClick":false,"completionKey":"TAB","completionSupport":true},"colWidth":12,"editorMode":"ace/mode/sql","fontSize":9,"results":{"0":{"graph":{"mode":"table","height":300,"optionOpen":false,"setting":{"table":{"tableGridState":{},"tableColumnTypeState":{"names":{"group_id":"string","app_id":"string","subject_id":"string","face_id":"string","distance":"string"},"updated":false},"tableOptionSpecHash":"[{\"name\":\"useFilter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable filter for columns\"},{\"name\":\"showPagination\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable pagination for better navigation\"},{\"name\":\"showAggregationFooter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable a footer for displaying aggregated values\"}]","tableOptionValue":{"useFilter":false,"showPagination":false,"showAggregationFooter":false},"updated":false,"initialized":false}},"commonSetting":{}}}},"enabled":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TABLE","data":"group_id\tapp_id\tsubject_id\tface_id\tdistance\nMK12NOP92L\tZ109APIOWE\tIU252SIDID\tGY2ITMUTF0\t1.0000002\nMK12NOP92L\tZ109APIOWE\tIU252SIDID\t2NQRD8CS3S\t0.98417836\nMK12NOP92L\tZ109APIOWE\tIU252SIDID\tUKSDQ77U9Y\t0.9825853\nMK12NOP92L\tZ109APIOWE\tIU252SIDID\tWW3DSU3XUA\t0.9770677\nMK12NOP92L\tZ109APIOWE\tLBNF5RCVNH\tF5HMP7VMU0\t0.80875254\nMK12NOP92L\tZ109APIOWE\tLBNF5RCVNH\tD43I9SV002\t0.799448\nMK12NOP92L\tZ109APIOWE\tLBNF5RCVNH\tJV0KBWYES3\t0.789731\nMK12NOP92L\tZ109APIOWE\tLBNF5RCVNH\tPO2ERRTHZK\t0.78944093\nMK12NOP92L\tZ109APIOWE\tNDZITT31JY\tW8AR4H7SOC\t0.78706187\nMK12NOP92L\tZ109APIOWE\tLBNF5RCVNH\tEQ918ULGPO\t0.7852893\nMK12NOP92L\tZ109APIOWE\tJPFITFKZ5V\tE27FNEHK3E\t0.7852823\nMK12NOP92L\tZ109APIOWE\tLBNF5RCVNH\tTJUTGMXLSU\t0.7832409\nMK12NOP92L\tZ109APIOWE\tLBNF5RCVNH\tPR6SLFI9RC\t0.78221714\nMK12NOP92L\tZ109APIOWE\tLBNF5RCVNH\tZS1ZV0HNDY\t0.77913874\nMK12NOP92L\tZ109APIOWE\tLBNF5RCVNH\tFFJDELVCFT\t0.77830666\nMK12NOP92L\tZ109APIOWE\tP64JTEIZTG\tVAOVQCMSRU\t0.7762409\nMK12NOP92L\tZ109APIOWE\tLBNF5RCVNH\tJVLR76R05R\t0.7754588\nMK12NOP92L\tZ109APIOWE\t2VYC7YSX9L\tY8H99Y4I68\t0.7736123\nMK12NOP92L\tZ109APIOWE\tNDZITT31JY\tAMAVN0EDJV\t0.77343553\nMK12NOP92L\tZ109APIOWE\t78UALARKQL\tJ6CXVFZYOQ\t0.77238643\n"},{"type":"TEXT","data":""}]},"apps":[],"jobName":"paragraph_1604983815413_1675303182","id":"20201027-110801_1475858682","dateCreated":"2020-11-10T13:50:15+0900","status":"READY","errorMessage":"","progressUpdateIntervalMs":500,"$$hashKey":"object:54168"},{"text":"%sql\nSELECT group_id, app_id, subject_id, face_id, euclideanDistance(feature, toFloatArray(array(0.04074662,0.07717144,-0.01387950,0.01287790,0.04414229,0.03390900,0.03808868,0.03956917,0.00592308,-0.00935156,0.04414903,-0.01830893,-0.01918902,0.00154574,-0.02383651,-0.01054291,0.12655860,0.02075430,0.10315673,0.01371782,0.01522089,0.04304991,0.03376650,0.06703991,0.03827063,-0.00063873,0.02516229,0.07061137,0.08456459,-0.04103030,0.03004974,0.00297395,0.00295535,0.01112351,0.02805021,0.04350155,-0.00448326,0.04780317,0.10815978,-0.01784242,0.03320745,0.02912348,0.00183310,0.05318154,0.00922967,-0.04507693,0.01333585,0.00048346,-0.04612860,0.00427735,0.01232839,-0.00100568,0.03865110,0.01765136,-0.00942758,0.02383475,-0.01068696,0.08959154,0.08527020,0.03379998,-0.03852739,0.00607160,0.01309861,-0.01262910,0.00418265,0.03614477,-0.02971224,0.03703139,0.04333942,-0.03143747,0.06752674,-0.02173617,0.03583429,0.07731125,-0.02637132,-0.00395790,-0.04447101,0.03351297,0.08787052,0.00647665,0.03660145,-0.00640601,-0.01004024,0.00763107,0.04762240,-0.00068071,0.00863653,0.06126453,0.04588475,-0.03891076,0.07472295,0.02470182,0.08828569,0.01660202,0.02419317,0.09363404,0.05495216,0.01202847,0.00120040,-0.02136896,0.03100559,0.07371868,0.00986731,0.03934553,0.01289396,0.04705510,-0.02040175,0.01501585,0.00678832,0.03882410,0.02261387,0.02165552,-0.05097445,0.00240807,-0.04210005,0.00760698,-0.02904095,0.06572093,0.03549200,0.06070529,0.06948626,0.02832109,0.01669887,0.00914011,-0.00024529,-0.00124402,0.06481186,0.08246713,0.07499877,0.13112830,0.01034968,0.04224777,0.01175614,0.07395388,0.04937797,0.01561183,-0.03251049,0.05449009,0.04767901,-0.01149555,-0.02055555,-0.05990825,0.06633005,0.07592525,-0.04504610,0.03348448,0.04178635,0.01327751,0.02208084,0.08780535,-0.00799043,0.02236966,0.01560906,0.01171102,0.00814554,-0.00257578,0.08387835,-0.01018093,-0.02170087,0.03230520,0.00955880,-0.01824543,0.05438962,0.01805668,0.02112979,-0.01372666,-0.01057472,0.05453142,0.03742066,0.05534794,0.00977020,0.01991821,-0.00884413,0.09644359,0.02875310,0.10519003,0.05280351,-0.01918891,0.03197290,0.02722778,0.03450845,0.02669794,0.08618007,0.09387484,0.05103674,-0.01431658,0.00783211,-0.00434245,0.02062620,-0.00611403,0.06696083,0.01333337,-0.00156842,0.04325287,-0.05481976,0.01642864,-0.02679648,-0.00642413,0.03808333,0.06134293,0.06049823,0.03818581,0.03599750,-0.01651556,0.06601544,0.01385061,0.00730943,0.03045858,-0.00200028,0.04009718,0.04393080,-0.02568381,-0.01271287,-0.01860873,0.03669106,0.00154059,-0.04202117,0.07374570,-0.00380450,0.03164477,0.00637422,-0.02361638,0.01918917,0.01680134,0.01346881,0.02424449,-0.00504802,-0.06241146,0.08241857,0.02817723,0.02132487,0.08051144,0.06332499,0.02585857,-0.04057337,0.00279212,-0.00005161,-0.06566417,0.07860317,-0.01276221,0.06822366,-0.00191142,0.08534018,0.06014366,0.07053877,-0.01962799,0.08602677,-0.00817098,0.00302233,-0.10041475,-0.01908947,0.03235617,0.00931559,0.05451865,0.02233902,-0.01173994))) AS distance\nFROM face_1m\nORDER BY distance ASC\nLIMIT 20\n","user":"anonymous","dateUpdated":"2020-11-10T13:50:15+0900","config":{"editorSetting":{"language":"sql","editOnDblClick":false,"completionKey":"TAB","completionSupport":true},"colWidth":12,"editorMode":"ace/mode/sql","fontSize":9,"results":{"0":{"graph":{"mode":"table","height":300,"optionOpen":false,"setting":{"table":{"tableGridState":{},"tableColumnTypeState":{"names":{"group_id":"string","app_id":"string","subject_id":"string","face_id":"string","distance":"string"},"updated":false},"tableOptionSpecHash":"[{\"name\":\"useFilter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable filter for columns\"},{\"name\":\"showPagination\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable pagination for better navigation\"},{\"name\":\"showAggregationFooter\",\"valueType\":\"boolean\",\"defaultValue\":false,\"widget\":\"checkbox\",\"description\":\"Enable a footer for displaying aggregated values\"}]","tableOptionValue":{"useFilter":false,"showPagination":false,"showAggregationFooter":false},"updated":false,"initialized":false}},"commonSetting":{}}}},"enabled":true},"settings":{"params":{},"forms":{}},"results":{"code":"SUCCESS","msg":[{"type":"TABLE","data":"group_id\tapp_id\tsubject_id\tface_id\tdistance\nMK12NOP92L\tZ109APIOWE\tIU252SIDID\tGY2ITMUTF0\t0.0\nMK12NOP92L\tZ109APIOWE\tIU252SIDID\t2NQRD8CS3S\t0.124250576\nMK12NOP92L\tZ109APIOWE\tIU252SIDID\tUKSDQ77U9Y\t0.13224256\nMK12NOP92L\tZ109APIOWE\tIU252SIDID\tWW3DSU3XUA\t0.15265115\nMK12NOP92L\tZ109APIOWE\tLBNF5RCVNH\tF5HMP7VMU0\t0.43649504\nMK12NOP92L\tZ109APIOWE\tLBNF5RCVNH\tD43I9SV002\t0.4438003\nMK12NOP92L\tZ109APIOWE\tLBNF5RCVNH\tPO2ERRTHZK\t0.4535684\nMK12NOP92L\tZ109APIOWE\tLBNF5RCVNH\tJV0KBWYES3\t0.45455676\nMK12NOP92L\tZ109APIOWE\tJPFITFKZ5V\tE27FNEHK3E\t0.45569986\nMK12NOP92L\tZ109APIOWE\tLBNF5RCVNH\tTJUTGMXLSU\t0.46190575\nMK12NOP92L\tZ109APIOWE\tLBNF5RCVNH\tPR6SLFI9RC\t0.46213254\nMK12NOP92L\tZ109APIOWE\tNDZITT31JY\tW8AR4H7SOC\t0.46229216\nMK12NOP92L\tZ109APIOWE\tLBNF5RCVNH\tZS1ZV0HNDY\t0.46322557\nMK12NOP92L\tZ109APIOWE\tLBNF5RCVNH\tEQ918ULGPO\t0.46356374\nMK12NOP92L\tZ109APIOWE\t2VYC7YSX9L\tY8H99Y4I68\t0.46712327\nMK12NOP92L\tZ109APIOWE\tLBNF5RCVNH\tFFJDELVCFT\t0.46992737\nMK12NOP92L\tZ109APIOWE\t78UALARKQL\tJ6CXVFZYOQ\t0.47070885\nMK12NOP92L\tZ109APIOWE\tLBNF5RCVNH\tJVLR76R05R\t0.47133702\nMK12NOP92L\tZ109APIOWE\tU9XF7SY93M\tEK7EPCTX2K\t0.47176176\nMK12NOP92L\tZ109APIOWE\tP64JTEIZTG\tVAOVQCMSRU\t0.47239134\n"},{"type":"TEXT","data":""}]},"apps":[],"jobName":"paragraph_1604983815414_910534300","id":"20201027-112530_937446922","dateCreated":"2020-11-10T13:50:15+0900","status":"READY","errorMessage":"","progressUpdateIntervalMs":500,"$$hashKey":"object:54169"}],"name":"/Matthew/KNN_SEARCH_TEST","id":"2FPN8R86B","noteParams":{},"noteForms":{},"angularObjects":{"md:shared_process":[],"sh:shared_process":[],"spark:shared_process":[]},"config":{"isZeppelinNotebookCronEnable":false,"looknfeel":"default","personalizedMode":"false"},"info":{}}