Looks like it was done by the lowest bidder. A sink drain needs to be 2", and it needs to be pitched to the main. It cannot be connected to the main stack without a vent if there are other fixtures draining into the stack above it.
Next time you hire someone, insist that they get a permit and inspection done prior to paying.
Are you sure he was a plumber?