-
Notifications
You must be signed in to change notification settings - Fork 842
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add support for Azure Maps Search APIs #1294
Conversation
SudhindraKovalam
commented
Dec 8, 2021
- Add support for Azure Maps Get Search API
- Add support for Batch Search API
- Created a geospatial package to support all geospatial functions - Added support for GetSearchAddress - TODO: Fix the flattening of batch results
- fixed how the columns are fetched and flattened - added asserts to ensure the results `df` contains all rows
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Codecov Report
@@ Coverage Diff @@
## master #1294 +/- ##
==========================================
- Coverage 78.04% 77.73% -0.32%
==========================================
Files 271 273 +2
Lines 13397 13453 +56
Branches 681 689 +8
==========================================
+ Hits 10456 10458 +2
- Misses 2941 2995 +54
Continue to review full report at Codecov.
|
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks really good! A few questions for you
cognitive/src/main/scala/com/microsoft/azure/synapse/ml/geospatial/AzMapsSearchSchemas.scala
Outdated
Show resolved
Hide resolved
cognitive/src/main/scala/com/microsoft/azure/synapse/ml/geospatial/AzureMapsBase.scala
Outdated
Show resolved
Hide resolved
cognitive/src/main/scala/com/microsoft/azure/synapse/ml/geospatial/AzureMapsHelpers.scala
Outdated
Show resolved
Hide resolved
cognitive/src/main/scala/com/microsoft/azure/synapse/ml/geospatial/AzureMapsSearch.scala
Outdated
Show resolved
Hide resolved
- [Review Comment] Removed `AzureMapsBase` class to simplify dependency - [Review Comment] Renamed `BatchAsyncReply` to `MapsAsyncReply` - [Review Comment] Removed `=None` assignments in schema classes - [Enhancements] Update Output Column to only return batch results making is easier to flatten responses.
- Updated test case to include realistic address data - fixed a potential issue with `MapAsyncReply` appending subscription key twice
- Explicitly set the user agent header to track SynapseML usage
cognitive/src/main/scala/com/microsoft/azure/synapse/ml/geospatial/AzureMapsHelpers.scala
Show resolved
Hide resolved
- cleaned up `HasAddressInput`
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |