I've never seen wasps with long legs like that.
It's not big, about 1-2cm in length (not counting legs).
Could you identify this?
UPD: location is central Ukraine
The details of the insect are listed below:
Common Name: Craneflies
Zoological Name: Ctenophora flaveolata
Location(mostly found at): Eastern Europe
Here is the Biological Identification,
Kingdom: Animilia
Phylum: Arthropoda
Class: Insecta
Order: Diptera
Family: Tipulidae
Genus: Ctenophora Meigen
Features: The species are large (about 20 mm long, with 25-mm wingspans), shiny black craneflies with large yellow, orange, or red markings to mimic wasps. Males have comb-like antennae. The larvae are saproxylic. The species are confined to old deciduous forests, orchards, and other habitats with continuity of the presence of dying and fallen trees. Ctenophora species are important bioindicators.
Source: Ctenophora (fly)