druidδÊÚȨ»á¼ûÎó²î°æ±¾
apache druid °æ±¾ 0.24.0 ÖÁ 0.26.1 ±£´æδÊÚȨ»á¼ûÎó²î£¬ÔÊÐí¹¥»÷Õßͨ¹ýÈƹýÉí·ÝÑéÖ¤»úÖÆÀ´Î´¾ÊÚȨ»á¼ûÃô¸ÐÊý¾Ý¡£¹¥»÷Õß¿ÉʹÓôËÎó²îͨ¹ý graphql ÅÌÎÊÀ´»á¼û druid ¼¯ÈºÖеÄÊý¾Ý£¬¶ø»º½â²½·¥°üÀ¨Éý¼¶µ½ÊÜÓ°Ïì°æ±¾µÄÉÏÒ»¸ö°æ±¾ (0.24.3¡¢0.25.3 »ò 0.26.2) ²¢½ÓÄÉÌØÁíÍâÇå¾²²½·¥£¬ÀýÈçÏÞÖƶԼ¯ÈººÍ api µÄ»á¼û¡¢Ê¹Ó÷À»ðǽºÍ¼à¿ØÈÕÖ¾¡£
Druid δÊÚȨ»á¼ûÎó²î£º°æ±¾ÊÜÓ°Ïì
Druid ÊÇÒ»¿îÊ¢ÐеĿªÔ´Ê±¼äÐòÁÐÊý¾Ý¿â¡£ËüÒòÆä¸ßÐÔÄܺͿÉÀ©Õ¹ÐÔ¶ø±»ÆÕ±éʹÓá£È»¶ø£¬2022 ÄêÅû¶ÁËÒ»¸öδÊÚȨ»á¼ûÎó²î£¬Ó°ÏìÁË Apache Druid µÄÌض¨°æ±¾¡£
ÊÜÓ°Ïì°æ±¾£º
- Apache Druid 0.24.0 ÖÁ 0.24.2
- Apache Druid 0.25.0 ÖÁ 0.25.2
- Apache Druid 0.26.0 ÖÁ 0.26.1
Îó²îÏêÇ飺
¸ÃÎó²î±£´æÓÚ Druid µÄ GraphQL API ÖС£¹¥»÷Õß¿ÉÒÔͨ¹ý½á¹¹ÌØÖÆµÄ GraphQL ÅÌÎÊÀ´ÈƹýÉí·ÝÑéÖ¤»úÖÆ£¬´Ó¶øδ¾ÊÚȨ»á¼û Druid ¼¯ÈºÖеÄÊý¾Ý¡£
Îó²îʹÓãº
ΪÁËʹÓôËÎó²î£¬¹¥»÷ÕßÐèÒªÖªµÀ Druid ¼¯ÈºµÄ URL ºÍ¶Ë¿Ú¡£È»ºó£¬ËûÃÇ¿ÉÒÔʹÓà GraphQL ¿Í»§»ú£¨ÀýÈç Apollo Client£©·¢³öÈçÏ GraphQL ÅÌÎÊ£º
query { dataSource(name: "dataSourceName") { aggregations { sum(fieldName) } } }
µÇ¼ºó¸´ÖÆ
´ËÅÌÎʽ«ÈƹýÉí·ÝÑéÖ¤£¬²¢·µ»ØÖ¸¶¨Ãü¾ÝÔ´ÖÐÖ¸¶¨×ֶεľۺÏЧ¹û¡£¹¥»÷Õß¿ÉÒÔʹÓôËÐÅÏ¢À´»á¼ûÃô¸ÐÊý¾Ý£¬ÀýÈç²ÆÎñÊý¾Ý¡¢Óû§Ô˶¯»òÆäËûÉñÃØÐÅÏ¢¡£
»º½â²½·¥£º
Òª»º½â´ËÎó²î£¬½¨ÒéÊÜÓ°ÏìµÄÓû§Éý¼¶µ½ÒÔÏ°汾£º
- Apache Druid 0.24.3
- Apache Druid 0.25.3
- Apache Druid 0.26.2
±ðµÄ£¬Óû§¿ÉÒÔ½ÓÄÉÒÔÏ°취½øÒ»²½½µµÍΣº¦£º
- ÏÞÖÆ¶Ô Druid ¼¯ÈºµÄ»á¼û£¬Ö»ÔÊÐíÊÚȨÓû§»á¼û¡£
- ʹÓ÷À»ðǽÏÞÖÆ¶Ô Druid GraphQL API µÄ»á¼û¡£
- ¼à¿Ø Druid ÈÕÖ¾ÒÔ¼ì²â¿ÉÒÉÔ˶¯¡£
ÒÔÉϾÍÊÇdruidδÊÚȨ»á¼ûÎó²î°æ±¾µÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡